export default {"util.js":"import*as t from\"@ohos.hilog\";import*as e from\"@ohos.process\";import*as r from\"@ohos.util\";import*as o from\"buffer\";var n={2737:(t,e,r)=>{var o=r(8750),n=r(4573),i=n(o(\"String.prototype.indexOf\"));t.exports=function(t,e){var r=o(t,!!e);return\"function\"==typeof r&&i(t,\".prototype.\")>-1?n(r):r}},4573:(t,e,r)=>{var o=r(132),n=r(8750),i=n(\"%Function.prototype.apply%\"),a=n(\"%Function.prototype.call%\"),u=n(\"%Reflect.apply%\",!0)||o.call(a,i),p=n(\"%Object.getOwnPropertyDescriptor%\",!0),c=n(\"%Object.defineProperty%\",!0),l=n(\"%Math.max%\");if(c)try{c({},\"a\",{value:1})}catch(t){c=null}t.exports=function(t){var e=u(o,a,arguments);return p&&c&&p(e,\"length\").configurable&&c(e,\"length\",{value:1+l(0,t.length-(arguments.length-1))}),e};var f=function(){return u(o,i,arguments)};c?c(t.exports,\"apply\",{value:f}):t.exports.apply=f},7392:(t,e,r)=>{var o=r(4733),n=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol(\"foo\"),i=Object.prototype.toString,a=Array.prototype.concat,u=Object.defineProperty,p=r(1365)(),c=u&&p,l=function(t,e,r,o){if(e in t)if(!0===o){if(t[e]===r)return}else if(\"function\"!=typeof(n=o)||\"[object Function]\"!==i.call(n)||!o())return;var n;c?u(t,e,{configurable:!0,enumerable:!1,value:r,writable:!0}):t[e]=r},f=function(t,e){var r=arguments.length>2?arguments[2]:{},i=o(e);n&&(i=a.call(i,Object.getOwnPropertySymbols(e)));for(var u=0;u<i.length;u+=1)l(t,i[u],e[i[u]],r[i[u]])};f.supportsDescriptors=!!c,t.exports=f},1919:(t,e,r)=>{var o=r(6597),n=r(3512),i=r(2435),a=r(1819),u=r(7057),p=r(8429),c=r(5627),l=r(9517),f=r(8750),y=r(4602),s=r(1365)(),b=f(\"%Error%\");function g(t,e){var r=new b(e);c(r,h),delete r.constructor;var i=p(t,y({AdvanceStringIndex:o,GetMethod:a,IsArray:u,Type:l},t));return n(r,\"errors\",i),r}s&&Object.defineProperty(g,\"prototype\",{writable:!1});var h=g.prototype;if(!i(h,\"constructor\",g)||!i(h,\"message\",\"\")||!i(h,\"name\",\"AggregateError\"))throw new b(\"unable to install AggregateError.prototype properties; please report this!\");c(g.prototype,Error.prototype),t.exports=g},216:(t,e,r)=>{var o=r(132),n=r(7392),i=r(222).functionsHaveConfigurableNames(),a=r(1919),u=r(6810),p=r(116),c=u(),l=o.call(c);Object.defineProperty&&(i&&Object.defineProperty(l,\"name\",{value:c.name}),Object.defineProperty(l,\"prototype\",{value:c.prototype})),n(l,{getPolyfill:u,implementation:a,shim:p}),t.exports=l},6810:(t,e,r)=>{var o=r(1919);t.exports=function(){return\"function\"==typeof AggregateError?AggregateError:o}},116:(t,e,r)=>{var o=r(7392),n=r(1913)(),i=r(6810);t.exports=function(){var t=i();return o(n,{AggregateError:t},{AggregateError:function(){return n.AggregateError!==t}}),t}},8458:t=>{var e=Array.prototype.slice,r=Object.prototype.toString;t.exports=function(t){var o=this;if(\"function\"!=typeof o||\"[object Function]\"!==r.call(o))throw new TypeError(\"Function.prototype.bind called on incompatible \"+o);for(var n,i=e.call(arguments,1),a=Math.max(0,o.length-i.length),u=[],p=0;p<a;p++)u.push(\"$\"+p);if(n=Function(\"binder\",\"return function (\"+u.join(\",\")+\"){ return binder.apply(this,arguments); }\")((function(){if(this instanceof n){var r=o.apply(this,i.concat(e.call(arguments)));return Object(r)===r?r:this}return o.apply(t,i.concat(e.call(arguments)))})),o.prototype){var c=function(){};c.prototype=o.prototype,n.prototype=new c,c.prototype=null}return n}},132:(t,e,r)=>{var o=r(8458);t.exports=Function.prototype.bind||o},222:t=>{var e=function(){return\"string\"==typeof function(){}.name},r=Object.getOwnPropertyDescriptor;if(r)try{r([],\"length\")}catch(t){r=null}e.functionsHaveConfigurableNames=function(){if(!e()||!r)return!1;var t=r((function(){}),\"name\");return!!t&&!!t.configurable};var o=Function.prototype.bind;e.boundFunctionsHaveNames=function(){return e()&&\"function\"==typeof o&&\"\"!==function(){}.bind().name},t.exports=e},8750:(t,e,r)=>{var o,n=SyntaxError,i=Function,a=TypeError,u=function(t){try{return i('\"use strict\"; return ('+t+\").constructor;\")()}catch(t){}},p=Object.getOwnPropertyDescriptor;if(p)try{p({},\"\")}catch(t){p=null}var c=function(){throw new a},l=p?function(){try{return c}catch(t){try{return p(arguments,\"callee\").get}catch(t){return c}}}():c,f=r(679)(),y=r(2574)(),s=Object.getPrototypeOf||(y?function(t){return t.__proto__}:null),b={},g=\"undefined\"!=typeof Uint8Array&&s?s(Uint8Array):o,h={\"%AggregateError%\":\"undefined\"==typeof AggregateError?o:AggregateError,\"%Array%\":Array,\"%ArrayBuffer%\":\"undefined\"==typeof ArrayBuffer?o:ArrayBuffer,\"%ArrayIteratorPrototype%\":f&&s?s([][Symbol.iterator]()):o,\"%AsyncFromSyncIteratorPrototype%\":o,\"%AsyncFunction%\":b,\"%AsyncGenerator%\":b,\"%AsyncGeneratorFunction%\":b,\"%AsyncIteratorPrototype%\":b,\"%Atomics%\":\"undefined\"==typeof Atomics?o:Atomics,\"%BigInt%\":\"undefined\"==typeof BigInt?o:BigInt,\"%BigInt64Array%\":\"undefined\"==typeof BigInt64Array?o:BigInt64Array,\"%BigUint64Array%\":\"undefined\"==typeof BigUint64Array?o:BigUint64Array,\"%Boolean%\":Boolean,\"%DataView%\":\"undefined\"==typeof DataView?o:DataView,\"%Date%\":Date,\"%decodeURI%\":decodeURI,\"%decodeURIComponent%\":decodeURIComponent,\"%encodeURI%\":encodeURI,\"%encodeURIComponent%\":encodeURIComponent,\"%Error%\":Error,\"%eval%\":eval,\"%EvalError%\":EvalError,\"%Float32Array%\":\"undefined\"==typeof Float32Array?o:Float32Array,\"%Float64Array%\":\"undefined\"==typeof Float64Array?o:Float64Array,\"%FinalizationRegistry%\":\"undefined\"==typeof FinalizationRegistry?o:FinalizationRegistry,\"%Function%\":i,\"%GeneratorFunction%\":b,\"%Int8Array%\":\"undefined\"==typeof Int8Array?o:Int8Array,\"%Int16Array%\":\"undefined\"==typeof Int16Array?o:Int16Array,\"%Int32Array%\":\"undefined\"==typeof Int32Array?o:Int32Array,\"%isFinite%\":isFinite,\"%isNaN%\":isNaN,\"%IteratorPrototype%\":f&&s?s(s([][Symbol.iterator]())):o,\"%JSON%\":\"object\"==typeof JSON?JSON:o,\"%Map%\":\"undefined\"==typeof Map?o:Map,\"%MapIteratorPrototype%\":\"undefined\"!=typeof Map&&f&&s?s((new Map)[Symbol.iterator]()):o,\"%Math%\":Math,\"%Number%\":Number,\"%Object%\":Object,\"%parseFloat%\":parseFloat,\"%parseInt%\":parseInt,\"%Promise%\":\"undefined\"==typeof Promise?o:Promise,\"%Proxy%\":\"undefined\"==typeof Proxy?o:Proxy,\"%RangeError%\":RangeError,\"%ReferenceError%\":ReferenceError,\"%Reflect%\":\"undefined\"==typeof Reflect?o:Reflect,\"%RegExp%\":RegExp,\"%Set%\":\"undefined\"==typeof Set?o:Set,\"%SetIteratorPrototype%\":\"undefined\"!=typeof Set&&f&&s?s((new Set)[Symbol.iterator]()):o,\"%SharedArrayBuffer%\":\"undefined\"==typeof SharedArrayBuffer?o:SharedArrayBuffer,\"%String%\":String,\"%StringIteratorPrototype%\":f&&s?s(\"\"[Symbol.iterator]()):o,\"%Symbol%\":f?Symbol:o,\"%SyntaxError%\":n,\"%ThrowTypeError%\":l,\"%TypedArray%\":g,\"%TypeError%\":a,\"%Uint8Array%\":\"undefined\"==typeof Uint8Array?o:Uint8Array,\"%Uint8ClampedArray%\":\"undefined\"==typeof Uint8ClampedArray?o:Uint8ClampedArray,\"%Uint16Array%\":\"undefined\"==typeof Uint16Array?o:Uint16Array,\"%Uint32Array%\":\"undefined\"==typeof Uint32Array?o:Uint32Array,\"%URIError%\":URIError,\"%WeakMap%\":\"undefined\"==typeof WeakMap?o:WeakMap,\"%WeakRef%\":\"undefined\"==typeof WeakRef?o:WeakRef,\"%WeakSet%\":\"undefined\"==typeof WeakSet?o:WeakSet};if(s)try{null.error}catch(t){var d=s(s(t));h[\"%Error.prototype%\"]=d}var m=function t(e){var r;if(\"%AsyncFunction%\"===e)r=u(\"async function () {}\");else if(\"%GeneratorFunction%\"===e)r=u(\"function* () {}\");else if(\"%AsyncGeneratorFunction%\"===e)r=u(\"async function* () {}\");else if(\"%AsyncGenerator%\"===e){var o=t(\"%AsyncGeneratorFunction%\");o&&(r=o.prototype)}else if(\"%AsyncIteratorPrototype%\"===e){var n=t(\"%AsyncGenerator%\");n&&s&&(r=s(n.prototype))}return h[e]=r,r},v={\"%ArrayBufferPrototype%\":[\"ArrayBuffer\",\"prototype\"],\"%ArrayPrototype%\":[\"Array\",\"prototype\"],\"%ArrayProto_entries%\":[\"Array\",\"prototype\",\"entries\"],\"%ArrayProto_forEach%\":[\"Array\",\"prototype\",\"forEach\"],\"%ArrayProto_keys%\":[\"Array\",\"prototype\",\"keys\"],\"%ArrayProto_values%\":[\"Array\",\"prototype\",\"values\"],\"%AsyncFunctionPrototype%\":[\"AsyncFunction\",\"prototype\"],\"%AsyncGenerator%\":[\"AsyncGeneratorFunction\",\"prototype\"],\"%AsyncGeneratorPrototype%\":[\"AsyncGeneratorFunction\",\"prototype\",\"prototype\"],\"%BooleanPrototype%\":[\"Boolean\",\"prototype\"],\"%DataViewPrototype%\":[\"DataView\",\"prototype\"],\"%DatePrototype%\":[\"Date\",\"prototype\"],\"%ErrorPrototype%\":[\"Error\",\"prototype\"],\"%EvalErrorPrototype%\":[\"EvalError\",\"prototype\"],\"%Float32ArrayPrototype%\":[\"Float32Array\",\"prototype\"],\"%Float64ArrayPrototype%\":[\"Float64Array\",\"prototype\"],\"%FunctionPrototype%\":[\"Function\",\"prototype\"],\"%Generator%\":[\"GeneratorFunction\",\"prototype\"],\"%GeneratorPrototype%\":[\"GeneratorFunction\",\"prototype\",\"prototype\"],\"%Int8ArrayPrototype%\":[\"Int8Array\",\"prototype\"],\"%Int16ArrayPrototype%\":[\"Int16Array\",\"prototype\"],\"%Int32ArrayPrototype%\":[\"Int32Array\",\"prototype\"],\"%JSONParse%\":[\"JSON\",\"parse\"],\"%JSONStringify%\":[\"JSON\",\"stringify\"],\"%MapPrototype%\":[\"Map\",\"prototype\"],\"%NumberPrototype%\":[\"Number\",\"prototype\"],\"%ObjectPrototype%\":[\"Object\",\"prototype\"],\"%ObjProto_toString%\":[\"Object\",\"prototype\",\"toString\"],\"%ObjProto_valueOf%\":[\"Object\",\"prototype\",\"valueOf\"],\"%PromisePrototype%\":[\"Promise\",\"prototype\"],\"%PromiseProto_then%\":[\"Promise\",\"prototype\",\"then\"],\"%Promise_all%\":[\"Promise\",\"all\"],\"%Promise_reject%\":[\"Promise\",\"reject\"],\"%Promise_resolve%\":[\"Promise\",\"resolve\"],\"%RangeErrorPrototype%\":[\"RangeError\",\"prototype\"],\"%ReferenceErrorPrototype%\":[\"ReferenceError\",\"prototype\"],\"%RegExpPrototype%\":[\"RegExp\",\"prototype\"],\"%SetPrototype%\":[\"Set\",\"prototype\"],\"%SharedArrayBufferPrototype%\":[\"SharedArrayBuffer\",\"prototype\"],\"%StringPrototype%\":[\"String\",\"prototype\"],\"%SymbolPrototype%\":[\"Symbol\",\"prototype\"],\"%SyntaxErrorPrototype%\":[\"SyntaxError\",\"prototype\"],\"%TypedArrayPrototype%\":[\"TypedArray\",\"prototype\"],\"%TypeErrorPrototype%\":[\"TypeError\",\"prototype\"],\"%Uint8ArrayPrototype%\":[\"Uint8Array\",\"prototype\"],\"%Uint8ClampedArrayPrototype%\":[\"Uint8ClampedArray\",\"prototype\"],\"%Uint16ArrayPrototype%\":[\"Uint16Array\",\"prototype\"],\"%Uint32ArrayPrototype%\":[\"Uint32Array\",\"prototype\"],\"%URIErrorPrototype%\":[\"URIError\",\"prototype\"],\"%WeakMapPrototype%\":[\"WeakMap\",\"prototype\"],\"%WeakSetPrototype%\":[\"WeakSet\",\"prototype\"]},S=r(132),A=r(7492),w=S.call(Function.call,Array.prototype.concat),P=S.call(Function.apply,Array.prototype.splice),j=S.call(Function.call,String.prototype.replace),O=S.call(Function.call,String.prototype.slice),E=S.call(Function.call,RegExp.prototype.exec),x=/[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g,I=/\\\\(\\\\)?/g,M=function(t,e){var r,o=t;if(A(v,o)&&(o=\"%\"+(r=v[o])[0]+\"%\"),A(h,o)){var i=h[o];if(i===b&&(i=m(o)),void 0===i&&!e)throw new a(\"intrinsic \"+t+\" exists, but is not available. Please file an issue!\");return{alias:r,name:o,value:i}}throw new n(\"intrinsic \"+t+\" does not exist!\")};t.exports=function(t,e){if(\"string\"!=typeof t||0===t.length)throw new a(\"intrinsic name must be a non-empty string\");if(arguments.length>1&&\"boolean\"!=typeof e)throw new a('\"allowMissing\" argument must be a boolean');if(null===E(/^%?[^%]*%?$/,t))throw new n(\"`%` may not be present anywhere but at the beginning and end of the intrinsic name\");var r=function(t){var e=O(t,0,1),r=O(t,-1);if(\"%\"===e&&\"%\"!==r)throw new n(\"invalid intrinsic syntax, expected closing `%`\");if(\"%\"===r&&\"%\"!==e)throw new n(\"invalid intrinsic syntax, expected opening `%`\");var o=[];return j(t,x,(function(t,e,r,n){o[o.length]=r?j(n,I,\"$1\"):e||t})),o}(t),o=r.length>0?r[0]:\"\",i=M(\"%\"+o+\"%\",e),u=i.name,c=i.value,l=!1,f=i.alias;f&&(o=f[0],P(r,w([0,1],f)));for(var y=1,s=!0;y<r.length;y+=1){var b=r[y],g=O(b,0,1),d=O(b,-1);if(('\"'===g||\"'\"===g||\"`\"===g||'\"'===d||\"'\"===d||\"`\"===d)&&g!==d)throw new n(\"property names with quotes must have matching quotes\");if(\"constructor\"!==b&&s||(l=!0),A(h,u=\"%\"+(o+=\".\"+b)+\"%\"))c=h[u];else if(null!=c){if(!(b in c)){if(!e)throw new a(\"base intrinsic for \"+t+\" exists, but the property is not available.\");return}if(p&&y+1>=r.length){var m=p(c,b);c=(s=!!m)&&\"get\"in m&&!(\"originalValue\"in m.get)?m.get:c[b]}else s=A(c,b),c=c[b];s&&!l&&(h[u]=c)}}return c}},1403:t=>{\"undefined\"!=typeof self?t.exports=self:\"undefined\"!=typeof window?t.exports=window:t.exports=Function(\"return this\")()},1913:(t,e,r)=>{var o=r(7392),n=r(1403),i=r(9958),a=r(7493),u=i(),p=function(){return u};o(p,{getPolyfill:i,implementation:n,shim:a}),t.exports=p},9958:(t,e,r)=>{var o=r(1403);t.exports=function(){return\"object\"==typeof r.g&&r.g&&r.g.Math===Math&&r.g.Array===Array?r.g:o}},7493:(t,e,r)=>{var o=r(7392),n=r(9958);t.exports=function(){var t=n();if(o.supportsDescriptors){var e=Object.getOwnPropertyDescriptor(t,\"globalThis\");e&&(!e.configurable||!e.enumerable&&e.writable&&globalThis===t)||Object.defineProperty(t,\"globalThis\",{configurable:!0,enumerable:!1,value:t,writable:!0})}else\"object\"==typeof globalThis&&globalThis===t||(t.globalThis=t);return t}},7502:(t,e,r)=>{var o=r(8750)(\"%Object.getOwnPropertyDescriptor%\",!0);if(o)try{o([],\"length\")}catch(t){o=null}t.exports=o},1365:(t,e,r)=>{var o=r(8750)(\"%Object.defineProperty%\",!0),n=function(){if(o)try{return o({},\"a\",{value:1}),!0}catch(t){return!1}return!1};n.hasArrayLengthDefineBug=function(){if(!n())return null;try{return 1!==o([],\"length\",{value:1}).length}catch(t){return!0}},t.exports=n},2574:t=>{var e={foo:{}},r=Object;t.exports=function(){return{__proto__:e}.foo===e.foo&&!({__proto__:null}instanceof r)}},679:(t,e,r)=>{var o=\"undefined\"!=typeof Symbol&&Symbol,n=r(8186);t.exports=function(){return\"function\"==typeof o&&\"function\"==typeof Symbol&&\"symbol\"==typeof o(\"foo\")&&\"symbol\"==typeof Symbol(\"bar\")&&n()}},8186:t=>{t.exports=function(){if(\"function\"!=typeof Symbol||\"function\"!=typeof Object.getOwnPropertySymbols)return!1;if(\"symbol\"==typeof Symbol.iterator)return!0;var t={},e=Symbol(\"test\"),r=Object(e);if(\"string\"==typeof e)return!1;if(\"[object Symbol]\"!==Object.prototype.toString.call(e))return!1;if(\"[object Symbol]\"!==Object.prototype.toString.call(r))return!1;for(e in t[e]=42,t)return!1;if(\"function\"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if(\"function\"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var o=Object.getOwnPropertySymbols(t);if(1!==o.length||o[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if(\"function\"==typeof Object.getOwnPropertyDescriptor){var n=Object.getOwnPropertyDescriptor(t,e);if(42!==n.value||!0!==n.enumerable)return!1}return!0}},698:(t,e,r)=>{var o=r(8186);t.exports=function(){return o()&&!!Symbol.toStringTag}},7492:(t,e,r)=>{var o=r(132);t.exports=o.call(Function.call,Object.prototype.hasOwnProperty)},2922:t=>{var e,r,o=Function.prototype.toString,n=\"object\"==typeof Reflect&&null!==Reflect&&Reflect.apply;if(\"function\"==typeof n&&\"function\"==typeof Object.defineProperty)try{e=Object.defineProperty({},\"length\",{get:function(){throw r}}),r={},n((function(){throw 42}),null,e)}catch(t){t!==r&&(n=null)}else n=null;var i=/^\\s*class\\b/,a=function(t){try{var e=o.call(t);return i.test(e)}catch(t){return!1}},u=function(t){try{return!a(t)&&(o.call(t),!0)}catch(t){return!1}},p=Object.prototype.toString,c=\"function\"==typeof Symbol&&!!Symbol.toStringTag,l=!(0 in[,]),f=function(){return!1};if(\"object\"==typeof document){var y=document.all;p.call(y)===p.call(document.all)&&(f=function(t){if((l||!t)&&(void 0===t||\"object\"==typeof t))try{var e=p.call(t);return(\"[object HTMLAllCollection]\"===e||\"[object HTML document.all class]\"===e||\"[object HTMLCollection]\"===e||\"[object Object]\"===e)&&null==t(\"\")}catch(t){}return!1})}t.exports=n?function(t){if(f(t))return!0;if(!t)return!1;if(\"function\"!=typeof t&&\"object\"!=typeof t)return!1;try{n(t,null,e)}catch(t){if(t!==r)return!1}return!a(t)&&u(t)}:function(t){if(f(t))return!0;if(!t)return!1;if(\"function\"!=typeof t&&\"object\"!=typeof t)return!1;if(c)return u(t);if(a(t))return!1;var e=p.call(t);return!(\"[object Function]\"!==e&&\"[object GeneratorFunction]\"!==e&&!/^\\[object HTML/.test(e))&&u(t)}},8559:(t,e,r)=>{var o=String.prototype.valueOf,n=Object.prototype.toString,i=r(698)();t.exports=function(t){return\"string\"==typeof t||\"object\"==typeof t&&(i?function(t){try{return o.call(t),!0}catch(t){return!1}}(t):\"[object String]\"===n.call(t))}},6524:(t,e,r)=>{var o=\"function\"==typeof Map&&Map.prototype,n=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Map.prototype,\"size\"):null,i=o&&n&&\"function\"==typeof n.get?n.get:null,a=o&&Map.prototype.forEach,u=\"function\"==typeof Set&&Set.prototype,p=Object.getOwnPropertyDescriptor&&u?Object.getOwnPropertyDescriptor(Set.prototype,\"size\"):null,c=u&&p&&\"function\"==typeof p.get?p.get:null,l=u&&Set.prototype.forEach,f=\"function\"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,y=\"function\"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,s=\"function\"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,b=Boolean.prototype.valueOf,g=Object.prototype.toString,h=Function.prototype.toString,d=String.prototype.match,m=String.prototype.slice,v=String.prototype.replace,S=String.prototype.toUpperCase,A=String.prototype.toLowerCase,w=RegExp.prototype.test,P=Array.prototype.concat,j=Array.prototype.join,O=Array.prototype.slice,E=Math.floor,x=\"function\"==typeof BigInt?BigInt.prototype.valueOf:null,I=Object.getOwnPropertySymbols,M=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?Symbol.prototype.toString:null,R=\"function\"==typeof Symbol&&\"object\"==typeof Symbol.iterator,T=\"function\"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,D=Object.prototype.propertyIsEnumerable,_=(\"function\"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function N(t,e){if(t===1/0||t===-1/0||t!=t||t&&t>-1e3&&t<1e3||w.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(\"number\"==typeof t){var o=t<0?-E(-t):E(t);if(o!==t){var n=String(o),i=m.call(e,n.length+1);return v.call(n,r,\"$&_\")+\".\"+v.call(v.call(i,/([0-9]{3})/g,\"$&_\"),/_$/,\"\")}}return v.call(e,r,\"$&_\")}var C=r(6553),F=C.custom,G=B(F)?F:null;function U(t,e,r){var o=\"double\"===(r.quoteStyle||e)?'\"':\"'\";return o+t+o}function k(t){return v.call(String(t),/\"/g,\"&quot;\")}function W(t){return!(\"[object Array]\"!==H(t)||T&&\"object\"==typeof t&&T in t)}function V(t){return!(\"[object RegExp]\"!==H(t)||T&&\"object\"==typeof t&&T in t)}function B(t){if(R)return t&&\"object\"==typeof t&&t instanceof Symbol;if(\"symbol\"==typeof t)return!0;if(!t||\"object\"!=typeof t||!M)return!1;try{return M.call(t),!0}catch(t){}return!1}t.exports=function t(e,r,o,n){var u=r||{};if($(u,\"quoteStyle\")&&\"single\"!==u.quoteStyle&&\"double\"!==u.quoteStyle)throw new TypeError('option \"quoteStyle\" must be \"single\" or \"double\"');if($(u,\"maxStringLength\")&&(\"number\"==typeof u.maxStringLength?u.maxStringLength<0&&u.maxStringLength!==1/0:null!==u.maxStringLength))throw new TypeError('option \"maxStringLength\", if provided, must be a positive integer, Infinity, or `null`');var p=!$(u,\"customInspect\")||u.customInspect;if(\"boolean\"!=typeof p&&\"symbol\"!==p)throw new TypeError(\"option \\\"customInspect\\\", if provided, must be `true`, `false`, or `'symbol'`\");if($(u,\"indent\")&&null!==u.indent&&\"\\t\"!==u.indent&&!(parseInt(u.indent,10)===u.indent&&u.indent>0))throw new TypeError('option \"indent\" must be \"\\\\t\", an integer > 0, or `null`');if($(u,\"numericSeparator\")&&\"boolean\"!=typeof u.numericSeparator)throw new TypeError('option \"numericSeparator\", if provided, must be `true` or `false`');var g=u.numericSeparator;if(void 0===e)return\"undefined\";if(null===e)return\"null\";if(\"boolean\"==typeof e)return e?\"true\":\"false\";if(\"string\"==typeof e)return J(e,u);if(\"number\"==typeof e){if(0===e)return 1/0/e>0?\"0\":\"-0\";var S=String(e);return g?N(e,S):S}if(\"bigint\"==typeof e){var w=String(e)+\"n\";return g?N(e,w):w}var E=void 0===u.depth?5:u.depth;if(void 0===o&&(o=0),o>=E&&E>0&&\"object\"==typeof e)return W(e)?\"[Array]\":\"[Object]\";var I,F=function(t,e){var r;if(\"\\t\"===t.indent)r=\"\\t\";else{if(!(\"number\"==typeof t.indent&&t.indent>0))return null;r=j.call(Array(t.indent+1),\" \")}return{base:r,prev:j.call(Array(e+1),r)}}(u,o);if(void 0===n)n=[];else if(q(n,e)>=0)return\"[Circular]\";function L(e,r,i){if(r&&(n=O.call(n)).push(r),i){var a={depth:u.depth};return $(u,\"quoteStyle\")&&(a.quoteStyle=u.quoteStyle),t(e,a,o+1,n)}return t(e,u,o+1,n)}if(\"function\"==typeof e&&!V(e)){var Y=function(t){if(t.name)return t.name;var e=d.call(h.call(t),/^function\\s*([\\w$]+)/);return e?e[1]:null}(e),tt=Q(e,L);return\"[Function\"+(Y?\": \"+Y:\" (anonymous)\")+\"]\"+(tt.length>0?\" { \"+j.call(tt,\", \")+\" }\":\"\")}if(B(e)){var et=R?v.call(String(e),/^(Symbol\\(.*\\))_[^)]*$/,\"$1\"):M.call(e);return\"object\"!=typeof e||R?et:K(et)}if((I=e)&&\"object\"==typeof I&&(\"undefined\"!=typeof HTMLElement&&I instanceof HTMLElement||\"string\"==typeof I.nodeName&&\"function\"==typeof I.getAttribute)){for(var rt=\"<\"+A.call(String(e.nodeName)),ot=e.attributes||[],nt=0;nt<ot.length;nt++)rt+=\" \"+ot[nt].name+\"=\"+U(k(ot[nt].value),\"double\",u);return rt+=\">\",e.childNodes&&e.childNodes.length&&(rt+=\"...\"),rt+\"</\"+A.call(String(e.nodeName))+\">\"}if(W(e)){if(0===e.length)return\"[]\";var it=Q(e,L);return F&&!function(t){for(var e=0;e<t.length;e++)if(q(t[e],\"\\n\")>=0)return!1;return!0}(it)?\"[\"+X(it,F)+\"]\":\"[ \"+j.call(it,\", \")+\" ]\"}if(function(t){return!(\"[object Error]\"!==H(t)||T&&\"object\"==typeof t&&T in t)}(e)){var at=Q(e,L);return\"cause\"in Error.prototype||!(\"cause\"in e)||D.call(e,\"cause\")?0===at.length?\"[\"+String(e)+\"]\":\"{ [\"+String(e)+\"] \"+j.call(at,\", \")+\" }\":\"{ [\"+String(e)+\"] \"+j.call(P.call(\"[cause]: \"+L(e.cause),at),\", \")+\" }\"}if(\"object\"==typeof e&&p){if(G&&\"function\"==typeof e[G]&&C)return C(e,{depth:E-o});if(\"symbol\"!==p&&\"function\"==typeof e.inspect)return e.inspect()}if(function(t){if(!i||!t||\"object\"!=typeof t)return!1;try{i.call(t);try{c.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var ut=[];return a&&a.call(e,(function(t,r){ut.push(L(r,e,!0)+\" => \"+L(t,e))})),Z(\"Map\",i.call(e),ut,F)}if(function(t){if(!c||!t||\"object\"!=typeof t)return!1;try{c.call(t);try{i.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var pt=[];return l&&l.call(e,(function(t){pt.push(L(t,e))})),Z(\"Set\",c.call(e),pt,F)}if(function(t){if(!f||!t||\"object\"!=typeof t)return!1;try{f.call(t,f);try{y.call(t,y)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return z(\"WeakMap\");if(function(t){if(!y||!t||\"object\"!=typeof t)return!1;try{y.call(t,y);try{f.call(t,f)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return z(\"WeakSet\");if(function(t){if(!s||!t||\"object\"!=typeof t)return!1;try{return s.call(t),!0}catch(t){}return!1}(e))return z(\"WeakRef\");if(function(t){return!(\"[object Number]\"!==H(t)||T&&\"object\"==typeof t&&T in t)}(e))return K(L(Number(e)));if(function(t){if(!t||\"object\"!=typeof t||!x)return!1;try{return x.call(t),!0}catch(t){}return!1}(e))return K(L(x.call(e)));if(function(t){return!(\"[object Boolean]\"!==H(t)||T&&\"object\"==typeof t&&T in t)}(e))return K(b.call(e));if(function(t){return!(\"[object String]\"!==H(t)||T&&\"object\"==typeof t&&T in t)}(e))return K(L(String(e)));if(!function(t){return!(\"[object Date]\"!==H(t)||T&&\"object\"==typeof t&&T in t)}(e)&&!V(e)){var ct=Q(e,L),lt=_?_(e)===Object.prototype:e instanceof Object||e.constructor===Object,ft=e instanceof Object?\"\":\"null prototype\",yt=!lt&&T&&Object(e)===e&&T in e?m.call(H(e),8,-1):ft?\"Object\":\"\",st=(lt||\"function\"!=typeof e.constructor?\"\":e.constructor.name?e.constructor.name+\" \":\"\")+(yt||ft?\"[\"+j.call(P.call([],yt||[],ft||[]),\": \")+\"] \":\"\");return 0===ct.length?st+\"{}\":F?st+\"{\"+X(ct,F)+\"}\":st+\"{ \"+j.call(ct,\", \")+\" }\"}return String(e)};var L=Object.prototype.hasOwnProperty||function(t){return t in this};function $(t,e){return L.call(t,e)}function H(t){return g.call(t)}function q(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,o=t.length;r<o;r++)if(t[r]===e)return r;return-1}function J(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,o=\"... \"+r+\" more character\"+(r>1?\"s\":\"\");return J(m.call(t,0,e.maxStringLength),e)+o}return U(v.call(v.call(t,/(['\\\\])/g,\"\\\\$1\"),/[\\x00-\\x1f]/g,Y),\"single\",e)}function Y(t){var e=t.charCodeAt(0),r={8:\"b\",9:\"t\",10:\"n\",12:\"f\",13:\"r\"}[e];return r?\"\\\\\"+r:\"\\\\x\"+(e<16?\"0\":\"\")+S.call(e.toString(16))}function K(t){return\"Object(\"+t+\")\"}function z(t){return t+\" { ? }\"}function Z(t,e,r,o){return t+\" (\"+e+\") {\"+(o?X(r,o):j.call(r,\", \"))+\"}\"}function X(t,e){if(0===t.length)return\"\";var r=\"\\n\"+e.prev+e.base;return r+j.call(t,\",\"+r)+\"\\n\"+e.prev}function Q(t,e){var r=W(t),o=[];if(r){o.length=t.length;for(var n=0;n<t.length;n++)o[n]=$(t,n)?e(t[n],t):\"\"}var i,a=\"function\"==typeof I?I(t):[];if(R){i={};for(var u=0;u<a.length;u++)i[\"$\"+a[u]]=a[u]}for(var p in t)$(t,p)&&(r&&String(Number(p))===p&&p<t.length||R&&i[\"$\"+p]instanceof Symbol||(w.call(/[^\\w$]/,p)?o.push(e(p,t)+\": \"+e(t[p],t)):o.push(p+\": \"+e(t[p],t))));if(\"function\"==typeof I)for(var c=0;c<a.length;c++)D.call(t,a[c])&&o.push(\"[\"+e(a[c])+\"]: \"+e(t[a[c]],t));return o}},9538:(t,e,r)=>{var o;if(!Object.keys){var n=Object.prototype.hasOwnProperty,i=Object.prototype.toString,a=r(1030),u=Object.prototype.propertyIsEnumerable,p=!u.call({toString:null},\"toString\"),c=u.call((function(){}),\"prototype\"),l=[\"toString\",\"toLocaleString\",\"valueOf\",\"hasOwnProperty\",\"isPrototypeOf\",\"propertyIsEnumerable\",\"constructor\"],f=function(t){var e=t.constructor;return e&&e.prototype===t},y={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},s=function(){if(\"undefined\"==typeof window)return!1;for(var t in window)try{if(!y[\"$\"+t]&&n.call(window,t)&&null!==window[t]&&\"object\"==typeof window[t])try{f(window[t])}catch(t){return!0}}catch(t){return!0}return!1}();o=function(t){var e=null!==t&&\"object\"==typeof t,r=\"[object Function]\"===i.call(t),o=a(t),u=e&&\"[object String]\"===i.call(t),y=[];if(!e&&!r&&!o)throw new TypeError(\"Object.keys called on a non-object\");var b=c&&r;if(u&&t.length>0&&!n.call(t,0))for(var g=0;g<t.length;++g)y.push(String(g));if(o&&t.length>0)for(var h=0;h<t.length;++h)y.push(String(h));else for(var d in t)b&&\"prototype\"===d||!n.call(t,d)||y.push(String(d));if(p)for(var m=function(t){if(\"undefined\"==typeof window||!s)return f(t);try{return f(t)}catch(t){return!1}}(t),v=0;v<l.length;++v)m&&\"constructor\"===l[v]||!n.call(t,l[v])||y.push(l[v]);return y}}t.exports=o},4733:(t,e,r)=>{var o=Array.prototype.slice,n=r(1030),i=Object.keys,a=i?function(t){return i(t)}:r(9538),u=Object.keys;a.shim=function(){if(Object.keys){var t=function(){var t=Object.keys(arguments);return t&&t.length===arguments.length}(1,2);t||(Object.keys=function(t){return n(t)?u(o.call(t)):u(t)})}else Object.keys=a;return Object.keys||a},t.exports=a},1030:t=>{var e=Object.prototype.toString;t.exports=function(t){var r=e.call(t),o=\"[object Arguments]\"===r;return o||(o=\"[object Array]\"!==r&&null!==t&&\"object\"==typeof t&&\"number\"==typeof t.length&&t.length>=0&&\"[object Function]\"===e.call(t.callee)),o}},3849:(t,e,r)=>{var o=r(216);t.exports=o},3018:(t,e,r)=>{t.exports={uncurryThis:function(){const{apply:t,bind:e,call:r}=Function.prototype;return e.bind(r)}(),JSONParse:t=>JSON.parse(t),MathAbs:t=>Math.abs(t),MathAcos:t=>Math.acos(t),MathAcosh:t=>Math.acosh(t),MathAsin:t=>Math.asin(t),MathAsinh:t=>Math.asinh(t),MathAtan:t=>Math.atan(t),MathAtanh:t=>Math.atanh(t),MathAtan2:t=>Math.atan2(t),MathCeil:t=>Math.ceil(t),MathCbrt:t=>Math.cbrt(t),MathExpm1:t=>Math.expm1(t),MathClz32:t=>Math.clz32(t),MathCos:t=>Math.cos(t),MathCosh:t=>Math.cosh(t),MathExp:t=>Math.exp(t),MathFround:t=>Math.fround(t),MathHypot:t=>Math.hypot(t),MathImul:t=>Math.imul(t),MathLog:t=>Math.log(t),MathLog1p:t=>Math.log(t),MathLog2:t=>Math.log2(t),MathLog10:t=>Math.log10(t),MathMax:(...t)=>Math.max(...t),MathMaxApply:t=>Math.max.apply(null,t),MathMin:t=>Math.min(t),MathPow:t=>Math.pow(t),MathRandom:()=>Math.random(),MathRound:t=>Math.round(t),MathSign:t=>Math.sign(t),MathSin:t=>Math.sin(t),MathSinh:t=>Math.sinh(t),MathSqrt:t=>Math.sqrt(t),MathTan:t=>Math.tan(t),MathTanh:t=>Math.tanh(t),MathTrunc:t=>Math.trunc(t),MathE:()=>Math.E,MathLN10:()=>Math.LN10,MathLN2:()=>Math.LN2,MathLOG10E:()=>Math.LOG10E,MathLOG2E:()=>Math.LOG2E,MathPI:()=>Math.PI,MathSQRT1_2:()=>Math.SQRT1_2,MathSQRT2:()=>Math.SQRT2,ReflectDefineProperty:Reflect.defineProperty,ReflectDeleteProperty:Reflect.deleteProperty,ReflectApply:Reflect.apply,ReflectConstruct:Reflect.construct,ReflectGet:Reflect.get,ReflectGetOwnPropertyDescriptor:Reflect.getOwnPropertyDescriptor,ReflectGetPrototypeOf:Reflect.getPrototypeOf,ReflectHas:Reflect.has,ReflectIsExtensible:Reflect.isExtensible,ReflectOwnKeys:Reflect.ownKeys,ReflectPreventExtensions:Reflect.preventExtensions,ReflectSet:Reflect.set,ReflectSetPrototypeOf:Reflect.setPrototypeOf,AggregateError:r(3849),ArrayFrom:(t,e)=>Array.from(t,e),ArrayIsArray:t=>Array.isArray(t),ArrayPrototypeIncludes:(t,e)=>t.includes(e),ArrayPrototypeFilter:(t,e)=>t.filter(e),ArrayPrototypeIndexOf:(t,e)=>t.indexOf(e),ArrayPrototypeJoin:(t,e)=>t.join(e),ArrayPrototypeMap:(t,e)=>t.map(e),ArrayPrototypePop:(t,e)=>t.pop(e),ArrayPrototypePush:(t,e)=>t.push(e),ArrayPrototypeSlice:(t,e,r)=>t.slice(e,r),ArrayPrototypeSplice:(t,e,r,...o)=>t.splice(e,r,...o),ArrayPrototypeUnshift:(t,e)=>t.unshift(e),MapPrototypeGet:Map.prototype.get,Error,ErrorCaptureStackTrace:Error.captureStackTrace,ErrorPrototypeToString:Error.prototype.toString,RangeError,JSONStringify:JSON.stringify,FunctionPrototypeCall:(t,e,...r)=>t.call(e,...r),FunctionPrototypeBind:(t,e,...r)=>t.bind(e,...r),FunctionPrototypeSymbolHasInstance:(t,e)=>Function.prototype[Symbol.hasInstance].call(t,e),MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,NumberIsFinite:Number.isFinite,NumberPrototypeToString:(t,e)=>t.toString(e),ObjectPrototypeHasOwnProperty:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),ObjectAssign:Object.assign,ObjectDefineProperties:(t,e)=>Object.defineProperties(t,e),ObjectDefineProperty:(t,e,r)=>Object.defineProperty(t,e,r),ObjectGetOwnPropertyDescriptor:(t,e)=>Object.getOwnPropertyDescriptor(t,e),ObjectKeys:t=>Object.keys(t),ObjectCreate:t=>Object.create(t),ObjectFreeze:t=>Object.freeze(t),ObjectEntries:t=>Object.entries(t),ObjectSetPrototypeOf:(t,e)=>Object.setPrototypeOf(t,e),ObjectPrototypeToString:t=>t.toString(),ObjectPrototypePropertyIsEnumerable:(t,e)=>t.propertyIsEnumerable(e),ObjectIsExtensible:Object.isExtensible,Promise,PromisePrototypeCatch:(t,e)=>t.catch(e),PromisePrototypeThen:(t,e,r)=>t.then(e,r),PromiseReject:t=>Promise.reject(t),RegExpPrototypeTest:(t,e)=>t.test(e),SafeSet:Set,String,StringPrototypeSlice:(t,e,r)=>t.slice(e,r),StringPrototypeToLowerCase:t=>t.toLowerCase(),StringPrototypeToUpperCase:t=>t.toUpperCase(),StringPrototypeTrim:t=>t.trim(),StringPrototypeCharCodeAt:(t,e)=>t.charCodeAt(e),StringPrototypeLastIndexOf:(t,e)=>t.lastIndexOf(e),StringPrototypeCharAt:(t,e)=>t.charAt(e),StringPrototypeIndexOf:(t,e)=>t.indexOf(e),StringPrototypeStartsWith:(t,e)=>t.startsWith(e),StringPrototypeIncludes:(t,e,r)=>t.includes(e,r),StringPrototypePadStart:(t,e,r)=>t.padStart(e,r),StringPrototypeReplace:(t,e,r)=>t.replace(e,r),DatePrototypeGetDate:t=>t.getDate(),DatePrototypeGetHours:t=>t.getHours(),DatePrototypeGetMinutes:t=>t.getMinutes(),DatePrototypeGetMonth:t=>t.getMonth(),DatePrototypeGetSeconds:t=>t.getSeconds(),Symbol,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,TypedArrayPrototypeSet:(t,e,r)=>t.set(e,r),decodeURIComponent,Uint8Array,Int8Array,Array,Date}},3966:t=>{var e=Array.prototype.slice,r=\"function\"==typeof Object.keys?Object.keys:function(t){var e=[];for(var r in t)e.push(r);return e};function o(t,e){if(0===t&&0===e)return 1/t==1/e;if(t===e)return!0;if(!(t instanceof Date&&e instanceof Date))return y(t)?y(e):\"object\"!=typeof t&&\"object\"!=typeof e?t===e:f(t)||f(e)?(o=e,!(!f(r=t)||!f(o))&&(a(r)?a(o)&&((n=r.valueOf())===(i=o.valueOf())?0!==n||1/n==1/i:n!=n&&i!=i):u(r)?u(o)&&r.valueOf()===o.valueOf():p(r)?p(o)&&r.valueOf()===o.valueOf():c(r)?c(o)&&r.valueOf()===o.valueOf():l(r)?l(o)&&Object(r).toString()===Object(o).toString():s(r,o))):s(t,e);var r,o,n,i;try{return t.getTime()===e.getTime()}catch(t){return!1}}function n(t){return null==t}function i(t){return\"[object Arguments]\"==Object.prototype.toString.call(t)}function a(t){return\"[object Number]\"==Object.prototype.toString.call(t)}function u(t){return\"[object String]\"==Object.prototype.toString.call(t)}function p(t){return\"[object Boolean]\"==Object.prototype.toString.call(t)}function c(t){return\"[object BigInt]\"==Object.prototype.toString.call(t)}function l(t){return\"[object Symbol]\"==Object.prototype.toString.call(t)}function f(t){return null===t||\"boolean\"==typeof t||\"number\"==typeof t||\"string\"==typeof t||\"symbol\"==typeof t||void 0===t}function y(t){return\"number\"==typeof t&&t!=t}function s(t,a){if(n(t)||n(a))return!1;if(t.prototype!==a.prototype)return!1;if(i(t))return!!i(a)&&o(t=e.call(t),a=e.call(a));try{var u,p,c=r(t),l=r(a)}catch(t){return!1}if(c.length!=l.length)return!1;for(c.sort(),l.sort(),p=c.length-1;p>=0;p--)if(c[p]!=l[p])return!1;for(p=c.length-1;p>=0;p--)if(!o(t[u=c[p]],a[u]))return!1;return!0}t.exports={isDeepStrictEqual:o}},4338:(t,e,r)=>{const o=r(1350),n=r(2727),i=r(4597),{ObjectCreate:a,ObjectDefineProperty:u,StringPrototypeToUpperCase:p,ArrayPrototypeSlice:c}=r(3018);let l=a(null);const f=()=>{};t.exports={debuglog:function(t,e){function r(){t=p(t),a=!0}let a,y=(...u)=>{switch(r(),y=function(t,e){if(void 0===l[e])if(t){const t=o.pid;l[e]=function(r,...o){var a=i.printf(r,...o);n.debug(t,e,\"%{public}s %{public}s: %{public}s\",e,t,a)}}else l[e]=f;return l[e]}(a,t),\"function\"==typeof e&&e(y),u.length){case 1:return y(u[0]);case 2:return y(u[0],u[1]);default:return y(u[0],...c(u,1))}},s=()=>(r(),s=()=>a,a);const b=(...t)=>{switch(t.length){case 1:return y(t[0]);case 2:return y(t[0],t[1]);default:return y(t[0],...c(t,1))}};return u(b,\"enabled\",{__proto__:null,get:()=>s(),configurable:!0,enumerable:!0}),b}}},3823:(t,e,r)=>{const{ObjectDefineProperty:o,ArrayIsArray:n,ArrayPrototypeIncludes:i,NumberIsNaN:a}=r(3018),u=t=>{const e=\"__node_internal_\"+t.name;return o(t,\"name\",{__proto__:null,value:e}),t};e.validateString=u(((t,e)=>{if(\"string\"!=typeof t)throw new Error(\"ERR_INVALID_ARG_TYPE value:\"+t+\" name:\"+e)})),e.validateFunction=u(((t,e)=>{if(\"function\"!=typeof t)throw new Error(\"ERR_INVALID_ARG_TYPE value:\"+t+\" name:\"+e)})),e.validateAbortSignal=u(((t,e)=>{if(void 0!==t&&(null===t||\"object\"!=typeof t||!(\"aborted\"in t)))throw new Error(\"ERR_INVALID_ARG_TYPE value:\"+value+\" name:\"+e)})),e.validateObject=u(((t,e,r)=>{const o=null==r,i=!o&&r.allowArray,a=!o&&r.allowFunction;if((o||!r.nullable)&&null===t||!i&&n(t)||\"object\"!=typeof t&&(!a||\"function\"!=typeof t))throw new Error(\"ERR_INVALID_ARG_TYPE value:\"+t+\" name:\"+e)})),e.validateNumber=function(t,e,r=void 0,o){if(\"number\"!=typeof t)throw new Error(\"ERR_INVALID_ARG_TYPE value:\"+t+\" name:\"+e);if(null!=r&&t<r||null!=o&&t>o||(null!=r||null!=o)&&a(t))throw new Error(\"ERR_OUT_OF_RANGE, name:\"+e+\", \"+`${null!=r?`>= ${r}`:\"\"}${null!=r&&null!=o?\" && \":\"\"}${null!=o?`<= ${o}`:\"\"}`+t)},e.validateBoolean=function(t,e){if(\"boolean\"!=typeof t)throw new Error(\"ERR_INVALID_ARG_TYPE value:\"+t+\" name:\"+e)},e.validateArray=u(((t,e,r=0)=>{if(!Array.isArray(t))throw new Error(\"Array:\"+e);if(t.length<r)throw new Error(\"ERR_INVALID_ARG_VALUE name:\"+e+\",value:\"+t+\",reason:\"+`must be longer than ${r}`)})),e.validateUnion=function(t,e,r){if(!i(r,t))throw new Error(\"ERR_INVALID_ARG_TYPE, name:\"+e+\",union:\"+r+\",value:\"+t)}},2727:e=>{e.exports=t},1350:t=>{t.exports=e},4597:t=>{t.exports=r},3368:(t,e,r)=>{var n,i;t.exports=(n={Buffer:()=>o.Buffer},i={},r.d(i,n),i)},6553:()=>{},6597:(t,e,r)=>{var o=r(8750),n=r(1883),i=r(3771),a=r(9517),u=r(1554),p=o(\"%TypeError%\");t.exports=function(t,e,r){if(\"String\"!==a(t))throw new p(\"Assertion failed: `S` must be a String\");if(!i(e)||e<0||e>u)throw new p(\"Assertion failed: `length` must be an integer >= 0 and <= 2**53\");if(\"Boolean\"!==a(r))throw new p(\"Assertion failed: `unicode` must be a Boolean\");return r?e+1>=t.length?e+1:e+n(t,e)[\"[[CodeUnitCount]]\"]:e+1}},4101:(t,e,r)=>{var o=r(8750),n=r(2737),i=o(\"%TypeError%\"),a=r(7057),u=o(\"%Reflect.apply%\",!0)||n(\"Function.prototype.apply\");t.exports=function(t,e){var r=arguments.length>2?arguments[2]:[];if(!a(r))throw new i(\"Assertion failed: optional `argumentsList`, if provided, must be a List\");return u(t,e,r)}},1883:(t,e,r)=>{var o=r(8750)(\"%TypeError%\"),n=r(2737),i=r(8714),a=r(5722),u=r(9517),p=r(2955),c=n(\"String.prototype.charAt\"),l=n(\"String.prototype.charCodeAt\");t.exports=function(t,e){if(\"String\"!==u(t))throw new o(\"Assertion failed: `string` must be a String\");var r=t.length;if(e<0||e>=r)throw new o(\"Assertion failed: `position` must be >= 0, and < the length of `string`\");var n=l(t,e),f=c(t,e),y=i(n),s=a(n);if(!y&&!s)return{\"[[CodePoint]]\":f,\"[[CodeUnitCount]]\":1,\"[[IsUnpairedSurrogate]]\":!1};if(s||e+1===r)return{\"[[CodePoint]]\":f,\"[[CodeUnitCount]]\":1,\"[[IsUnpairedSurrogate]]\":!0};var b=l(t,e+1);return a(b)?{\"[[CodePoint]]\":p(n,b),\"[[CodeUnitCount]]\":2,\"[[IsUnpairedSurrogate]]\":!1}:{\"[[CodePoint]]\":f,\"[[CodeUnitCount]]\":1,\"[[IsUnpairedSurrogate]]\":!0}}},7232:(t,e,r)=>{var o=r(8750)(\"%TypeError%\"),n=r(8831),i=r(323),a=r(9517);t.exports=function(t,e,r){if(\"Object\"!==a(t))throw new o(\"Assertion failed: Type(O) is not Object\");if(!n(e))throw new o(\"Assertion failed: IsPropertyKey(P) is not true\");return i(t,e,{\"[[Configurable]]\":!0,\"[[Enumerable]]\":!0,\"[[Value]]\":r,\"[[Writable]]\":!0})}},3512:(t,e,r)=>{var o=r(8750)(\"%TypeError%\"),n=r(7232),i=r(8831),a=r(9517);t.exports=function(t,e,r){if(\"Object\"!==a(t))throw new o(\"Assertion failed: Type(O) is not Object\");if(!i(e))throw new o(\"Assertion failed: IsPropertyKey(P) is not true\");var u=n(t,e,r);if(!u)throw new o(\"unable to create data property\");return u}},2435:(t,e,r)=>{var o=r(8750)(\"%TypeError%\"),n=r(5628),i=r(9623),a=r(9121),u=r(8831),p=r(5403),c=r(9517);t.exports=function(t,e,r){if(\"Object\"!==c(t))throw new o(\"Assertion failed: Type(O) is not Object\");if(!u(e))throw new o(\"Assertion failed: IsPropertyKey(P) is not true\");return n(a,p,i,t,e,{\"[[Configurable]]\":!0,\"[[Enumerable]]\":!1,\"[[Value]]\":r,\"[[Writable]]\":!0})}},9623:(t,e,r)=>{var o=r(6688),n=r(7226),i=r(9517);t.exports=function(t){return void 0!==t&&o(i,\"Property Descriptor\",\"Desc\",t),n(t)}},2010:(t,e,r)=>{var o=r(8750)(\"%TypeError%\"),n=r(6524),i=r(8831),a=r(9517);t.exports=function(t,e){if(\"Object\"!==a(t))throw new o(\"Assertion failed: Type(O) is not Object\");if(!i(e))throw new o(\"Assertion failed: IsPropertyKey(P) is not true, got \"+n(e));return t[e]}},1414:(t,e,r)=>{var o=r(8750),n=o(\"%TypeError%\"),i=o(\"%SyntaxError%\"),a=o(\"%Symbol.asyncIterator%\",!0),u=r(6524),p=r(679)(),c=r(4602),l=r(6597),f=r(4101),y=r(1819),s=r(7057),b=r(9517);t.exports=function(t,e,r){var o=e;if(arguments.length<2&&(o=\"sync\"),\"sync\"!==o&&\"async\"!==o)throw new n(\"Assertion failed: `hint` must be one of 'sync' or 'async', got \"+u(e));var g=r;if(arguments.length<3)if(\"async\"===o){if(p&&a&&(g=y(t,a)),void 0===g)throw new i(\"async from sync iterators aren't currently supported\")}else g=c({AdvanceStringIndex:l,GetMethod:y,IsArray:s},t);var h=f(g,t);if(\"Object\"!==b(h))throw new n(\"iterator must return an object\");return h}},1819:(t,e,r)=>{var o=r(8750)(\"%TypeError%\"),n=r(267),i=r(212),a=r(8831),u=r(6524);t.exports=function(t,e){if(!a(e))throw new o(\"Assertion failed: IsPropertyKey(P) is not true\");var r=n(t,e);if(null!=r){if(!i(r))throw new o(u(e)+\" is not a function: \"+u(r));return r}}},267:(t,e,r)=>{var o=r(8750)(\"%TypeError%\"),n=r(8831),i=r(9424);t.exports=function(t,e){if(!n(e))throw new o(\"Assertion failed: IsPropertyKey(P) is not true\");return i(t)[e]}},5522:(t,e,r)=>{var o=r(8750)(\"%TypeError%\"),n=r(4101),i=r(7057),a=r(267),u=r(8831);t.exports=function(t,e){if(!u(e))throw new o(\"Assertion failed: P must be a Property Key\");var r=arguments.length>2?arguments[2]:[];if(!i(r))throw new o(\"Assertion failed: optional `argumentsList`, if provided, must be a List\");var p=a(t,e);return n(p,t,r)}},6445:(t,e,r)=>{var o=r(7492),n=r(9517),i=r(6688);t.exports=function(t){return void 0!==t&&(i(n,\"Property Descriptor\",\"Desc\",t),!(!o(t,\"[[Get]]\")&&!o(t,\"[[Set]]\")))}},7057:(t,e,r)=>{t.exports=r(2924)},212:(t,e,r)=>{t.exports=r(2922)},9121:(t,e,r)=>{var o=r(7492),n=r(9517),i=r(6688);t.exports=function(t){return void 0!==t&&(i(n,\"Property Descriptor\",\"Desc\",t),!(!o(t,\"[[Value]]\")&&!o(t,\"[[Writable]]\")))}},4996:(t,e,r)=>{var o=r(8750),n=o(\"%Object.preventExtensions%\",!0),i=o(\"%Object.isExtensible%\",!0),a=r(2410);t.exports=n?function(t){return!a(t)&&i(t)}:function(t){return!a(t)}},4635:(t,e,r)=>{var o=r(6688),n=r(6445),i=r(9121),a=r(9517);t.exports=function(t){return void 0!==t&&(o(a,\"Property Descriptor\",\"Desc\",t),!n(t)&&!i(t))}},3771:(t,e,r)=>{var o=r(4642),n=r(1068),i=r(9517),a=r(7152),u=r(8426);t.exports=function(t){if(\"Number\"!==i(t)||a(t)||!u(t))return!1;var e=o(t);return n(e)===e}},8831:t=>{t.exports=function(t){return\"string\"==typeof t||\"symbol\"==typeof t}},8429:(t,e,r)=>{var o=r(2737)(\"Array.prototype.push\"),n=r(1414),i=r(806),a=r(564);t.exports=function(t){var e;e=arguments.length>1?n(t,\"sync\",arguments[1]):n(t,\"sync\");for(var r=[],u=!0;u;)if(u=i(e)){var p=a(u);o(r,p)}return r}},5389:(t,e,r)=>{var o=r(8750)(\"%TypeError%\"),n=r(2010),i=r(2975),a=r(9517);t.exports=function(t){if(\"Object\"!==a(t))throw new o(\"Assertion failed: Type(iterResult) is not Object\");return i(n(t,\"done\"))}},1673:(t,e,r)=>{var o=r(8750)(\"%TypeError%\"),n=r(5522),i=r(9517);t.exports=function(t,e){var r=n(t,\"next\",arguments.length<2?[]:[e]);if(\"Object\"!==i(r))throw new o(\"iterator next must return an object\");return r}},806:(t,e,r)=>{var o=r(5389),n=r(1673);t.exports=function(t){var e=n(t);return!0!==o(e)&&e}},564:(t,e,r)=>{var o=r(8750)(\"%TypeError%\"),n=r(2010),i=r(9517);t.exports=function(t){if(\"Object\"!==i(t))throw new o(\"Assertion failed: Type(iterResult) is not Object\");return n(t,\"value\")}},323:(t,e,r)=>{var o=r(8750),n=r(7502),i=o(\"%SyntaxError%\"),a=o(\"%TypeError%\"),u=r(5505),p=r(6445),c=r(9121),l=r(4996),f=r(8831),y=r(6212),s=r(5403),b=r(9517),g=r(7299);t.exports=function(t,e,r){if(\"Object\"!==b(t))throw new a(\"Assertion failed: O must be an Object\");if(!f(e))throw new a(\"Assertion failed: P must be a Property Key\");if(!u({Type:b,IsDataDescriptor:c,IsAccessorDescriptor:p},r))throw new a(\"Assertion failed: Desc must be a Property Descriptor\");if(!n){if(p(r))throw new i(\"This environment does not support accessor property descriptors.\");var o=!(e in t)&&r[\"[[Writable]]\"]&&r[\"[[Enumerable]]\"]&&r[\"[[Configurable]]\"]&&\"[[Value]]\"in r,h=e in t&&(!(\"[[Configurable]]\"in r)||r[\"[[Configurable]]\"])&&(!(\"[[Enumerable]]\"in r)||r[\"[[Enumerable]]\"])&&(!(\"[[Writable]]\"in r)||r[\"[[Writable]]\"])&&\"[[Value]]\"in r;if(o||h)return t[e]=r[\"[[Value]]\"],s(t[e],r[\"[[Value]]\"]);throw new i(\"This environment does not support defining non-writable, non-enumerable, or non-configurable properties\")}var d=n(t,e),m=d&&y(d),v=l(t);return g(t,e,v,r,m)}},7685:(t,e,r)=>{var o=r(8750)(\"%TypeError%\"),n=r(3330),i=r(9517);t.exports=function(t){if(\"Object\"!==i(t))throw new o(\"Assertion failed: O must be an Object\");if(!n)throw new o(\"This environment does not support fetching prototypes.\");return n(t)}},5627:(t,e,r)=>{var o=r(8750)(\"%TypeError%\"),n=r(8780),i=r(7685),a=r(9517);t.exports=function(t,e){if(\"Object\"!==a(e)&&\"Null\"!==a(e))throw new o(\"Assertion failed: V must be Object or Null\");try{n(t,e)}catch(t){return!1}return i(t)===e}},2355:(t,e,r)=>{t.exports=r(3802)},5403:(t,e,r)=>{var o=r(7152);t.exports=function(t,e){return t===e?0!==t||1/t==1/e:o(t)&&o(e)}},2975:t=>{t.exports=function(t){return!!t}},9424:(t,e,r)=>{var o=r(8750)(\"%Object%\"),n=r(2355);t.exports=function(t){return n(t),o(t)}},6212:(t,e,r)=>{var o=r(7492),n=r(8750)(\"%TypeError%\"),i=r(9517),a=r(2975),u=r(212);t.exports=function(t){if(\"Object\"!==i(t))throw new n(\"ToPropertyDescriptor requires an object\");var e={};if(o(t,\"enumerable\")&&(e[\"[[Enumerable]]\"]=a(t.enumerable)),o(t,\"configurable\")&&(e[\"[[Configurable]]\"]=a(t.configurable)),o(t,\"value\")&&(e[\"[[Value]]\"]=t.value),o(t,\"writable\")&&(e[\"[[Writable]]\"]=a(t.writable)),o(t,\"get\")){var r=t.get;if(void 0!==r&&!u(r))throw new n(\"getter must be a function\");e[\"[[Get]]\"]=r}if(o(t,\"set\")){var p=t.set;if(void 0!==p&&!u(p))throw new n(\"setter must be a function\");e[\"[[Set]]\"]=p}if((o(e,\"[[Get]]\")||o(e,\"[[Set]]\"))&&(o(e,\"[[Value]]\")||o(e,\"[[Writable]]\")))throw new n(\"Invalid property descriptor. Cannot both specify accessors and a value or writable attribute\");return e}},9517:(t,e,r)=>{var o=r(224);t.exports=function(t){return\"symbol\"==typeof t?\"Symbol\":\"bigint\"==typeof t?\"BigInt\":o(t)}},2955:(t,e,r)=>{var o=r(8750),n=o(\"%TypeError%\"),i=o(\"%String.fromCharCode%\"),a=r(8714),u=r(5722);t.exports=function(t,e){if(!a(t)||!u(e))throw new n(\"Assertion failed: `lead` must be a leading surrogate char code, and `trail` must be a trailing surrogate char code\");return i(t)+i(e)}},7299:(t,e,r)=>{var o=r(8750)(\"%TypeError%\"),n=r(5628),i=r(9283),a=r(5505),u=r(9623),p=r(6445),c=r(9121),l=r(4635),f=r(8831),y=r(5403),s=r(9517);t.exports=function(t,e,r,b,g){var h,d,m=s(t);if(\"Undefined\"!==m&&\"Object\"!==m)throw new o(\"Assertion failed: O must be undefined or an Object\");if(!f(e))throw new o(\"Assertion failed: P must be a Property Key\");if(\"Boolean\"!==s(r))throw new o(\"Assertion failed: extensible must be a Boolean\");if(!a({Type:s,IsDataDescriptor:c,IsAccessorDescriptor:p},b))throw new o(\"Assertion failed: Desc must be a Property Descriptor\");if(\"Undefined\"!==s(g)&&!a({Type:s,IsDataDescriptor:c,IsAccessorDescriptor:p},g))throw new o(\"Assertion failed: current must be a Property Descriptor, or undefined\");if(\"Undefined\"===s(g))return!!r&&(\"Undefined\"===m||(p(b)?n(c,y,u,t,e,b):n(c,y,u,t,e,{\"[[Configurable]]\":!!b[\"[[Configurable]]\"],\"[[Enumerable]]\":!!b[\"[[Enumerable]]\"],\"[[Value]]\":b[\"[[Value]]\"],\"[[Writable]]\":!!b[\"[[Writable]]\"]})));if(!i({IsAccessorDescriptor:p,IsDataDescriptor:c},g))throw new o(\"`current`, when present, must be a fully populated and valid Property Descriptor\");if(!g[\"[[Configurable]]\"]){if(\"[[Configurable]]\"in b&&b[\"[[Configurable]]\"])return!1;if(\"[[Enumerable]]\"in b&&!y(b[\"[[Enumerable]]\"],g[\"[[Enumerable]]\"]))return!1;if(!l(b)&&!y(p(b),p(g)))return!1;if(p(g)){if(\"[[Get]]\"in b&&!y(b[\"[[Get]]\"],g[\"[[Get]]\"]))return!1;if(\"[[Set]]\"in b&&!y(b[\"[[Set]]\"],g[\"[[Set]]\"]))return!1}else if(!g[\"[[Writable]]\"]){if(\"[[Writable]]\"in b&&b[\"[[Writable]]\"])return!1;if(\"[[Value]]\"in b&&!y(b[\"[[Value]]\"],g[\"[[Value]]\"]))return!1}}return\"Undefined\"===m||(c(g)&&p(b)?(h=(\"[[Configurable]]\"in b?b:g)[\"[[Configurable]]\"],d=(\"[[Enumerable]]\"in b?b:g)[\"[[Enumerable]]\"],n(c,y,u,t,e,{\"[[Configurable]]\":!!h,\"[[Enumerable]]\":!!d,\"[[Get]]\":(\"[[Get]]\"in b?b:g)[\"[[Get]]\"],\"[[Set]]\":(\"[[Set]]\"in b?b:g)[\"[[Set]]\"]})):p(g)&&c(b)?(h=(\"[[Configurable]]\"in b?b:g)[\"[[Configurable]]\"],d=(\"[[Enumerable]]\"in b?b:g)[\"[[Enumerable]]\"],n(c,y,u,t,e,{\"[[Configurable]]\":!!h,\"[[Enumerable]]\":!!d,\"[[Value]]\":(\"[[Value]]\"in b?b:g)[\"[[Value]]\"],\"[[Writable]]\":!!(\"[[Writable]]\"in b?b:g)[\"[[Writable]]\"]})):n(c,y,u,t,e,b))}},4642:(t,e,r)=>{var o=r(8750)(\"%Math.abs%\");t.exports=function(t){return o(t)}},1068:(t,e,r)=>{var o=r(9517),n=Math.floor;t.exports=function(t){return\"BigInt\"===o(t)?t:n(t)}},3802:(t,e,r)=>{var o=r(8750)(\"%TypeError%\");t.exports=function(t,e){if(null==t)throw new o(e||\"Cannot call method on \"+t);return t}},224:t=>{t.exports=function(t){return null===t?\"Null\":void 0===t?\"Undefined\":\"function\"==typeof t||\"object\"==typeof t?\"Object\":\"number\"==typeof t?\"Number\":\"boolean\"==typeof t?\"Boolean\":\"string\"==typeof t?\"String\":void 0}},5628:(t,e,r)=>{var o=r(1365),n=r(8750),i=o()&&n(\"%Object.defineProperty%\",!0),a=o.hasArrayLengthDefineBug(),u=a&&r(2924),p=r(2737)(\"Object.prototype.propertyIsEnumerable\");t.exports=function(t,e,r,o,n,c){if(!i){if(!t(c))return!1;if(!c[\"[[Configurable]]\"]||!c[\"[[Writable]]\"])return!1;if(n in o&&p(o,n)!==!!c[\"[[Enumerable]]\"])return!1;var l=c[\"[[Value]]\"];return o[n]=l,e(o[n],l)}return a&&\"length\"===n&&\"[[Value]]\"in c&&u(o)&&o.length!==c[\"[[Value]]\"]?(o.length=c[\"[[Value]]\"],o.length===c[\"[[Value]]\"]):(i(o,n,r(c)),!0)}},2924:(t,e,r)=>{var o=r(8750)(\"%Array%\"),n=!o.isArray&&r(2737)(\"Object.prototype.toString\");t.exports=o.isArray||function(t){return\"[object Array]\"===n(t)}},6688:(t,e,r)=>{var o=r(8750),n=o(\"%TypeError%\"),i=o(\"%SyntaxError%\"),a=r(7492),u={\"Property Descriptor\":function(t){var e={\"[[Configurable]]\":!0,\"[[Enumerable]]\":!0,\"[[Get]]\":!0,\"[[Set]]\":!0,\"[[Value]]\":!0,\"[[Writable]]\":!0};if(!t)return!1;for(var r in t)if(a(t,r)&&!e[r])return!1;var o=a(t,\"[[Value]]\"),i=a(t,\"[[Get]]\")||a(t,\"[[Set]]\");if(o&&i)throw new n(\"Property Descriptors may not be both accessor and data descriptors\");return!0},\"Match Record\":r(1271),\"Iterator Record\":function(t){return a(t,\"[[Iterator]]\")&&a(t,\"[[NextMethod]]\")&&a(t,\"[[Done]]\")},\"PromiseCapability Record\":function(t){return!!t&&a(t,\"[[Resolve]]\")&&\"function\"==typeof t[\"[[Resolve]]\"]&&a(t,\"[[Reject]]\")&&\"function\"==typeof t[\"[[Reject]]\"]&&a(t,\"[[Promise]]\")&&t[\"[[Promise]]\"]&&\"function\"==typeof t[\"[[Promise]]\"].then},\"AsyncGeneratorRequest Record\":function(t){return!!t&&a(t,\"[[Completion]]\")&&a(t,\"[[Capability]]\")&&u[\"PromiseCapability Record\"](t[\"[[Capability]]\"])}};t.exports=function(t,e,r,o){var a=u[e];if(\"function\"!=typeof a)throw new i(\"unknown record type: \"+e);if(\"Object\"!==t(o)||!a(o))throw new n(r+\" must be a \"+e)}},7226:t=>{t.exports=function(t){if(void 0===t)return t;var e={};return\"[[Value]]\"in t&&(e.value=t[\"[[Value]]\"]),\"[[Writable]]\"in t&&(e.writable=!!t[\"[[Writable]]\"]),\"[[Get]]\"in t&&(e.get=t[\"[[Get]]\"]),\"[[Set]]\"in t&&(e.set=t[\"[[Set]]\"]),\"[[Enumerable]]\"in t&&(e.enumerable=!!t[\"[[Enumerable]]\"]),\"[[Configurable]]\"in t&&(e.configurable=!!t[\"[[Configurable]]\"]),e}},4602:(t,e,r)=>{var o=r(679)(),n=r(8750),i=r(2737),a=r(8559),u=n(\"%Symbol.iterator%\",!0),p=i(\"String.prototype.slice\"),c=n(\"%String%\");t.exports=function(t,e){var r;return o?r=t.GetMethod(e,u):t.IsArray(e)?r=function(){var t=-1,e=this;return{next:function(){return{done:(t+=1)>=e.length,value:e[t]}}}}:a(e)&&(r=function(){var r=0;return{next:function(){var o=t.AdvanceStringIndex(c(e),r,!0),n=p(e,r,o);return r=o,{done:o>e.length,value:n}}}}),r}},3330:(t,e,r)=>{var o=r(8750)(\"%Object.getPrototypeOf%\",!0),n=r(2574)();t.exports=o||(n?function(t){return t.__proto__}:null)},8426:(t,e,r)=>{var o=r(7152);t.exports=function(t){return(\"number\"==typeof t||\"bigint\"==typeof t)&&!o(t)&&t!==1/0&&t!==-1/0}},9283:t=>{t.exports=function(t,e){return!!e&&\"object\"==typeof e&&\"[[Enumerable]]\"in e&&\"[[Configurable]]\"in e&&(t.IsAccessorDescriptor(e)||t.IsDataDescriptor(e))}},8714:t=>{t.exports=function(t){return\"number\"==typeof t&&t>=55296&&t<=56319}},1271:(t,e,r)=>{var o=r(7492);t.exports=function(t){return o(t,\"[[StartIndex]]\")&&o(t,\"[[EndIndex]]\")&&t[\"[[StartIndex]]\"]>=0&&t[\"[[EndIndex]]\"]>=t[\"[[StartIndex]]\"]&&String(parseInt(t[\"[[StartIndex]]\"],10))===String(t[\"[[StartIndex]]\"])&&String(parseInt(t[\"[[EndIndex]]\"],10))===String(t[\"[[EndIndex]]\"])}},7152:t=>{t.exports=Number.isNaN||function(t){return t!=t}},2410:t=>{t.exports=function(t){return null===t||\"function\"!=typeof t&&\"object\"!=typeof t}},5505:(t,e,r)=>{var o=r(8750),n=r(7492),i=o(\"%TypeError%\");t.exports=function(t,e){if(\"Object\"!==t.Type(e))return!1;var r={\"[[Configurable]]\":!0,\"[[Enumerable]]\":!0,\"[[Get]]\":!0,\"[[Set]]\":!0,\"[[Value]]\":!0,\"[[Writable]]\":!0};for(var o in e)if(n(e,o)&&!r[o])return!1;if(t.IsDataDescriptor(e)&&t.IsAccessorDescriptor(e))throw new i(\"Property Descriptors may not be both accessor and data descriptors\");return!0}},5722:t=>{t.exports=function(t){return\"number\"==typeof t&&t>=56320&&t<=57343}},1554:(t,e,r)=>{var o=r(8750),n=o(\"%Math%\"),i=o(\"%Number%\");t.exports=i.MAX_SAFE_INTEGER||n.pow(2,53)-1},8780:(t,e,r)=>{var o=r(8750)(\"%Object.setPrototypeOf%\",!0),n=r(2574)();t.exports=o||(n?function(t,e){return t.__proto__=e,t}:null)}},i={};function a(t){var e=i[t];if(void 0!==e)return e.exports;var r=i[t]={exports:{}};return n[t](r,r.exports,a),r.exports}a.d=(t,e)=>{for(var r in e)a.o(e,r)&&!a.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},a.g=function(){if(\"object\"==typeof globalThis)return globalThis;try{return this||new Function(\"return this\")()}catch(t){if(\"object\"==typeof window)return window}}(),a.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var u={};(()=>{var t=u;const e=a(4597),{ArrayIsArray:r,ArrayPrototypeJoin:o,Date:n,DatePrototypeGetDate:i,DatePrototypeGetHours:p,DatePrototypeGetMinutes:c,DatePrototypeGetMonth:l,DatePrototypeGetSeconds:f,Error:y,ObjectDefineProperty:s,ObjectKeys:b,ObjectPrototypeToString:g,ObjectSetPrototypeOf:h,StringPrototypePadStart:d}=a(3018),{validateString:m}=a(3823),{debuglog:v}=a(4338),{isDeepStrictEqual:S}=a(3966),{isBuffer:A}=a(3368).Buffer;function w(t){return\"boolean\"==typeof t}function P(t){return null===t}function j(t){return null==t}function O(t){return\"number\"==typeof t}function E(t){return\"string\"==typeof t}function x(t){return\"symbol\"==typeof t}function I(t){return void 0===t}function M(t){return null!==t&&\"object\"==typeof t}function R(t){return\"[object Error]\"===g(t)||t instanceof y}function T(t){return\"function\"==typeof t}function D(t){return null===t||\"object\"!=typeof t&&\"function\"!=typeof t}function _(t){return d(t.toString(),2,\"0\")}const N=[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"];function C(...t){console.log(\"%s - %s\",function(){const t=new n,e=o([_(p(t)),_(c(t)),_(f(t))],\":\");return`${i(t)} ${N[l(t)]} ${e}`}(),...t)}function F(t,e){if(null==t)throw new y(\"ERR_INVALID_ARG_TYPE, ctor:\"+t);if(null==e)throw new y(\"ERR_INVALID_ARG_TYPE, superCtor:\"+e);if(void 0===e.prototype)throw new y(\"ERR_INVALID_ARG_TYPE, superCtor.prototype:\"+e.prototype);s(t,\"super_\",{__proto__:null,value:e,writable:!0,configurable:!0}),h(t.prototype,e.prototype)}function G(t,e){if(null===e||\"object\"!=typeof e)return t;const r=b(e);let o=r.length;for(;o--;)t[r[o]]=e[r[o]];return t}function U(t){return(new e.types).isRegExp(t)}function k(t){return(new e.types).isDate(t)}function W(){return new e.types}const V=new RegExp(\"[\\\\u001B\\\\u009B][[\\\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\\\d\\\\/#&.:=?%@~_]+)*|[a-zA-Z\\\\d]+(?:;[-a-zA-Z\\\\d\\\\/#&.:=?%@~_]*)*)?\\\\u0007)|(?:(?:\\\\d{1,4}(?:;\\\\d{0,4})*)?[\\\\dA-PR-TZcf-ntqry=><~]))\",\"g\");function B(t){return m(t,\"str\"),t.replace(V,\"\")}const{printf:L,getErrorString:$,callbackWrapper:H,promiseWrapper:q,TextDecoder:J,TextEncoder:Y}=e;t.ZP={_extend:G,callbackify:H,debug:v,debuglog:v,format:L,getSystemErrorName:$,inherits:F,isArray:r,isBoolean:w,isBuffer:A,isDeepStrictEqual:S,isNull:P,isNullOrUndefined:j,isNumber:O,isString:E,isSymbol:x,isUndefined:I,isRegExp:U,isObject:M,isDate:k,isError:R,isFunction:T,isPrimitive:D,log:C,promisify:q,stripVTControlCharacters:B,TextDecoder:J,TextEncoder:Y,types:W(),inspect:function(){}},t.uk=G,t.wI=H,t.fF=v,t.ZR=v,t.WU=L,t.sR=$,t.XW=F,t.kJ=r,t.jn=w,t.zH=A,t.QY=S,t.Ft=P,t.le=j,t.hj=O,t.HD=E,t.yk=x,t.o8=I,t.Kj=U,t.Kn=M,t.J_=k,t.VZ=R,t.mf=T,t.pt=D,t.cM=C,t.Fr=q,t.S9=B,t.kY=J,t.po=Y,t.V5=W(),t.XY=function(){}})();var p=u.kY,c=u.po,l=u.uk,f=u.wI,y=u.fF,s=u.ZR,b=u.ZP,g=u.WU,h=u.sR,d=u.XW,m=u.XY,v=u.kJ,S=u.jn,A=u.zH,w=u.J_,P=u.QY,j=u.VZ,O=u.mf,E=u.Ft,x=u.le,I=u.hj,M=u.Kn,R=u.pt,T=u.Kj,D=u.HD,_=u.yk,N=u.o8,C=u.cM,F=u.Fr,G=u.S9,U=u.V5;export{p as TextDecoder,c as TextEncoder,l as _extend,f as callbackify,y as debug,s as debuglog,b as default,g as format,h as getSystemErrorName,d as inherits,m as inspect,v as isArray,S as isBoolean,A as isBuffer,w as isDate,P as isDeepStrictEqual,j as isError,O as isFunction,E as isNull,x as isNullOrUndefined,I as isNumber,M as isObject,R as isPrimitive,T as isRegExp,D as isString,_ as isSymbol,N as isUndefined,C as log,F as promisify,G as stripVTControlCharacters,U as types};","url.js":"import require$$0 from 'util';\nimport require$$1 from 'buffer';\nimport require$$0$1 from '@ohos.url';\n\nfunction ownKeys(object, enumerableOnly) {\n  var keys = Object.keys(object);\n  if (Object.getOwnPropertySymbols) {\n    var symbols = Object.getOwnPropertySymbols(object);\n    enumerableOnly && (symbols = symbols.filter(function (sym) {\n      return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n    })), keys.push.apply(keys, symbols);\n  }\n  return keys;\n}\nfunction _objectSpread2(target) {\n  for (var i = 1; i < arguments.length; i++) {\n    var source = null != arguments[i] ? arguments[i] : {};\n    i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n      _defineProperty(target, key, source[key]);\n    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n      Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n    });\n  }\n  return target;\n}\nfunction _typeof(obj) {\n  \"@babel/helpers - typeof\";\n\n  return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n    return typeof obj;\n  } : function (obj) {\n    return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n  }, _typeof(obj);\n}\nfunction _classCallCheck(instance, Constructor) {\n  if (!(instance instanceof Constructor)) {\n    throw new TypeError(\"Cannot call a class as a function\");\n  }\n}\nfunction _defineProperties(target, props) {\n  for (var i = 0; i < props.length; i++) {\n    var descriptor = props[i];\n    descriptor.enumerable = descriptor.enumerable || false;\n    descriptor.configurable = true;\n    if (\"value\" in descriptor) descriptor.writable = true;\n    Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);\n  }\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n  if (staticProps) _defineProperties(Constructor, staticProps);\n  Object.defineProperty(Constructor, \"prototype\", {\n    writable: false\n  });\n  return Constructor;\n}\nfunction _defineProperty(obj, key, value) {\n  key = _toPropertyKey(key);\n  if (key in obj) {\n    Object.defineProperty(obj, key, {\n      value: value,\n      enumerable: true,\n      configurable: true,\n      writable: true\n    });\n  } else {\n    obj[key] = value;\n  }\n  return obj;\n}\nfunction _inherits(subClass, superClass) {\n  if (typeof superClass !== \"function\" && superClass !== null) {\n    throw new TypeError(\"Super expression must either be null or a function\");\n  }\n  subClass.prototype = Object.create(superClass && superClass.prototype, {\n    constructor: {\n      value: subClass,\n      writable: true,\n      configurable: true\n    }\n  });\n  Object.defineProperty(subClass, \"prototype\", {\n    writable: false\n  });\n  if (superClass) _setPrototypeOf(subClass, superClass);\n}\nfunction _getPrototypeOf(o) {\n  _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n    return o.__proto__ || Object.getPrototypeOf(o);\n  };\n  return _getPrototypeOf(o);\n}\nfunction _setPrototypeOf(o, p) {\n  _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n    o.__proto__ = p;\n    return o;\n  };\n  return _setPrototypeOf(o, p);\n}\nfunction _isNativeReflectConstruct() {\n  if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n  if (Reflect.construct.sham) return false;\n  if (typeof Proxy === \"function\") return true;\n  try {\n    Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n    return true;\n  } catch (e) {\n    return false;\n  }\n}\nfunction _assertThisInitialized(self) {\n  if (self === void 0) {\n    throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n  }\n  return self;\n}\nfunction _possibleConstructorReturn(self, call) {\n  if (call && (typeof call === \"object\" || typeof call === \"function\")) {\n    return call;\n  } else if (call !== void 0) {\n    throw new TypeError(\"Derived constructors may only return object or undefined\");\n  }\n  return _assertThisInitialized(self);\n}\nfunction _createSuper(Derived) {\n  var hasNativeReflectConstruct = _isNativeReflectConstruct();\n  return function _createSuperInternal() {\n    var Super = _getPrototypeOf(Derived),\n      result;\n    if (hasNativeReflectConstruct) {\n      var NewTarget = _getPrototypeOf(this).constructor;\n      result = Reflect.construct(Super, arguments, NewTarget);\n    } else {\n      result = Super.apply(this, arguments);\n    }\n    return _possibleConstructorReturn(this, result);\n  };\n}\nfunction _toPrimitive(input, hint) {\n  if (typeof input !== \"object\" || input === null) return input;\n  var prim = input[Symbol.toPrimitive];\n  if (prim !== undefined) {\n    var res = prim.call(input, hint || \"default\");\n    if (typeof res !== \"object\") return res;\n    throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n  }\n  return (hint === \"string\" ? String : Number)(input);\n}\nfunction _toPropertyKey(arg) {\n  var key = _toPrimitive(arg, \"string\");\n  return typeof key === \"symbol\" ? key : String(key);\n}\n\nvar commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};\n\nvar url$1 = {};\n\n/* eslint no-invalid-this: 1 */\n\nvar ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';\nvar slice$1 = Array.prototype.slice;\nvar toStr$4 = Object.prototype.toString;\nvar funcType = '[object Function]';\nvar implementation$8 = function bind(that) {\n  var target = this;\n  if (typeof target !== 'function' || toStr$4.call(target) !== funcType) {\n    throw new TypeError(ERROR_MESSAGE + target);\n  }\n  var args = slice$1.call(arguments, 1);\n  var bound;\n  var binder = function binder() {\n    if (this instanceof bound) {\n      var result = target.apply(this, args.concat(slice$1.call(arguments)));\n      if (Object(result) === result) {\n        return result;\n      }\n      return this;\n    } else {\n      return target.apply(that, args.concat(slice$1.call(arguments)));\n    }\n  };\n  var boundLength = Math.max(0, target.length - args.length);\n  var boundArgs = [];\n  for (var i = 0; i < boundLength; i++) {\n    boundArgs.push('$' + i);\n  }\n  bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);\n  if (target.prototype) {\n    var Empty = function Empty() {};\n    Empty.prototype = target.prototype;\n    bound.prototype = new Empty();\n    Empty.prototype = null;\n  }\n  return bound;\n};\n\nvar implementation$7 = implementation$8;\nvar functionBind = Function.prototype.bind || implementation$7;\n\nvar toStr$3 = Object.prototype.toString;\nvar isArguments = function isArguments(value) {\n  var str = toStr$3.call(value);\n  var isArgs = str === '[object Arguments]';\n  if (!isArgs) {\n    isArgs = str !== '[object Array]' && value !== null && _typeof(value) === 'object' && typeof value.length === 'number' && value.length >= 0 && toStr$3.call(value.callee) === '[object Function]';\n  }\n  return isArgs;\n};\n\nvar implementation$6;\nvar hasRequiredImplementation;\nfunction requireImplementation() {\n  if (hasRequiredImplementation) return implementation$6;\n  hasRequiredImplementation = 1;\n  var keysShim;\n  if (!Object.keys) {\n    // modified from https://github.com/es-shims/es5-shim\n    var has = Object.prototype.hasOwnProperty;\n    var toStr = Object.prototype.toString;\n    var isArgs = isArguments; // eslint-disable-line global-require\n    var isEnumerable = Object.prototype.propertyIsEnumerable;\n    var hasDontEnumBug = !isEnumerable.call({\n      toString: null\n    }, 'toString');\n    var hasProtoEnumBug = isEnumerable.call(function () {}, 'prototype');\n    var dontEnums = ['toString', 'toLocaleString', 'valueOf', 'hasOwnProperty', 'isPrototypeOf', 'propertyIsEnumerable', 'constructor'];\n    var equalsConstructorPrototype = function equalsConstructorPrototype(o) {\n      var ctor = o.constructor;\n      return ctor && ctor.prototype === o;\n    };\n    var excludedKeys = {\n      $applicationCache: true,\n      $console: true,\n      $external: true,\n      $frame: true,\n      $frameElement: true,\n      $frames: true,\n      $innerHeight: true,\n      $innerWidth: true,\n      $onmozfullscreenchange: true,\n      $onmozfullscreenerror: true,\n      $outerHeight: true,\n      $outerWidth: true,\n      $pageXOffset: true,\n      $pageYOffset: true,\n      $parent: true,\n      $scrollLeft: true,\n      $scrollTop: true,\n      $scrollX: true,\n      $scrollY: true,\n      $self: true,\n      $webkitIndexedDB: true,\n      $webkitStorageInfo: true,\n      $window: true\n    };\n    var hasAutomationEqualityBug = function () {\n      /* global window */\n      if (typeof window === 'undefined') {\n        return false;\n      }\n      for (var k in window) {\n        try {\n          if (!excludedKeys['$' + k] && has.call(window, k) && window[k] !== null && _typeof(window[k]) === 'object') {\n            try {\n              equalsConstructorPrototype(window[k]);\n            } catch (e) {\n              return true;\n            }\n          }\n        } catch (e) {\n          return true;\n        }\n      }\n      return false;\n    }();\n    var equalsConstructorPrototypeIfNotBuggy = function equalsConstructorPrototypeIfNotBuggy(o) {\n      /* global window */\n      if (typeof window === 'undefined' || !hasAutomationEqualityBug) {\n        return equalsConstructorPrototype(o);\n      }\n      try {\n        return equalsConstructorPrototype(o);\n      } catch (e) {\n        return false;\n      }\n    };\n    keysShim = function keys(object) {\n      var isObject = object !== null && _typeof(object) === 'object';\n      var isFunction = toStr.call(object) === '[object Function]';\n      var isArguments = isArgs(object);\n      var isString = isObject && toStr.call(object) === '[object String]';\n      var theKeys = [];\n      if (!isObject && !isFunction && !isArguments) {\n        throw new TypeError('Object.keys called on a non-object');\n      }\n      var skipProto = hasProtoEnumBug && isFunction;\n      if (isString && object.length > 0 && !has.call(object, 0)) {\n        for (var i = 0; i < object.length; ++i) {\n          theKeys.push(String(i));\n        }\n      }\n      if (isArguments && object.length > 0) {\n        for (var j = 0; j < object.length; ++j) {\n          theKeys.push(String(j));\n        }\n      } else {\n        for (var name in object) {\n          if (!(skipProto && name === 'prototype') && has.call(object, name)) {\n            theKeys.push(String(name));\n          }\n        }\n      }\n      if (hasDontEnumBug) {\n        var skipConstructor = equalsConstructorPrototypeIfNotBuggy(object);\n        for (var k = 0; k < dontEnums.length; ++k) {\n          if (!(skipConstructor && dontEnums[k] === 'constructor') && has.call(object, dontEnums[k])) {\n            theKeys.push(dontEnums[k]);\n          }\n        }\n      }\n      return theKeys;\n    };\n  }\n  implementation$6 = keysShim;\n  return implementation$6;\n}\n\nvar slice = Array.prototype.slice;\nvar isArgs = isArguments;\nvar origKeys = Object.keys;\nvar keysShim = origKeys ? function keys(o) {\n  return origKeys(o);\n} : requireImplementation();\nvar originalKeys = Object.keys;\nkeysShim.shim = function shimObjectKeys() {\n  if (Object.keys) {\n    var keysWorksWithArguments = function () {\n      // Safari 5.0 bug\n      var args = Object.keys(arguments);\n      return args && args.length === arguments.length;\n    }(1, 2);\n    if (!keysWorksWithArguments) {\n      Object.keys = function keys(object) {\n        // eslint-disable-line func-name-matching\n        if (isArgs(object)) {\n          return originalKeys(slice.call(object));\n        }\n        return originalKeys(object);\n      };\n    }\n  } else {\n    Object.keys = keysShim;\n  }\n  return Object.keys || keysShim;\n};\nvar objectKeys = keysShim;\n\n/* eslint complexity: [2, 18], max-statements: [2, 33] */\nvar shams$1 = function hasSymbols() {\n  if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') {\n    return false;\n  }\n  if (_typeof(Symbol.iterator) === 'symbol') {\n    return true;\n  }\n  var obj = {};\n  var sym = Symbol('test');\n  var symObj = Object(sym);\n  if (typeof sym === 'string') {\n    return false;\n  }\n  if (Object.prototype.toString.call(sym) !== '[object Symbol]') {\n    return false;\n  }\n  if (Object.prototype.toString.call(symObj) !== '[object Symbol]') {\n    return false;\n  }\n\n  // temp disabled per https://github.com/ljharb/object.assign/issues/17\n  // if (sym instanceof Symbol) { return false; }\n  // temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n  // if (!(symObj instanceof Symbol)) { return false; }\n\n  // if (typeof Symbol.prototype.toString !== 'function') { return false; }\n  // if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n  var symVal = 42;\n  obj[sym] = symVal;\n  for (sym in obj) {\n    return false;\n  } // eslint-disable-line no-restricted-syntax, no-unreachable-loop\n  if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) {\n    return false;\n  }\n  if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) {\n    return false;\n  }\n  var syms = Object.getOwnPropertySymbols(obj);\n  if (syms.length !== 1 || syms[0] !== sym) {\n    return false;\n  }\n  if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) {\n    return false;\n  }\n  if (typeof Object.getOwnPropertyDescriptor === 'function') {\n    var descriptor = Object.getOwnPropertyDescriptor(obj, sym);\n    if (descriptor.value !== symVal || descriptor.enumerable !== true) {\n      return false;\n    }\n  }\n  return true;\n};\n\nvar origSymbol = typeof Symbol !== 'undefined' && Symbol;\nvar hasSymbolSham = shams$1;\nvar hasSymbols$4 = function hasNativeSymbols() {\n  if (typeof origSymbol !== 'function') {\n    return false;\n  }\n  if (typeof Symbol !== 'function') {\n    return false;\n  }\n  if (_typeof(origSymbol('foo')) !== 'symbol') {\n    return false;\n  }\n  if (_typeof(Symbol('bar')) !== 'symbol') {\n    return false;\n  }\n  return hasSymbolSham();\n};\n\nvar test = {\n  foo: {}\n};\nvar $Object = Object;\nvar hasProto$1 = function hasProto() {\n  return {\n    __proto__: test\n  }.foo === test.foo && !({\n    __proto__: null\n  } instanceof $Object);\n};\n\nvar bind$2 = functionBind;\nvar src = bind$2.call(Function.call, Object.prototype.hasOwnProperty);\n\nvar undefined$1;\nvar $SyntaxError = SyntaxError;\nvar $Function = Function;\nvar $TypeError$6 = TypeError;\n\n// eslint-disable-next-line consistent-return\nvar getEvalledConstructor = function getEvalledConstructor(expressionSyntax) {\n  try {\n    return $Function('\"use strict\"; return (' + expressionSyntax + ').constructor;')();\n  } catch (e) {}\n};\nvar $gOPD = Object.getOwnPropertyDescriptor;\nif ($gOPD) {\n  try {\n    $gOPD({}, '');\n  } catch (e) {\n    $gOPD = null; // this is IE 8, which has a broken gOPD\n  }\n}\n\nvar throwTypeError = function throwTypeError() {\n  throw new $TypeError$6();\n};\nvar ThrowTypeError = $gOPD ? function () {\n  try {\n    // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties\n    arguments.callee; // IE 8 does not throw here\n    return throwTypeError;\n  } catch (calleeThrows) {\n    try {\n      // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')\n      return $gOPD(arguments, 'callee').get;\n    } catch (gOPDthrows) {\n      return throwTypeError;\n    }\n  }\n}() : throwTypeError;\nvar hasSymbols$3 = hasSymbols$4();\nvar hasProto = hasProto$1();\nvar getProto$1 = Object.getPrototypeOf || (hasProto ? function (x) {\n  return x.__proto__;\n} // eslint-disable-line no-proto\n: null);\nvar needsEval = {};\nvar TypedArray = typeof Uint8Array === 'undefined' || !getProto$1 ? undefined$1 : getProto$1(Uint8Array);\nvar INTRINSICS = {\n  '%AggregateError%': typeof AggregateError === 'undefined' ? undefined$1 : AggregateError,\n  '%Array%': Array,\n  '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer,\n  '%ArrayIteratorPrototype%': hasSymbols$3 && getProto$1 ? getProto$1([][Symbol.iterator]()) : undefined$1,\n  '%AsyncFromSyncIteratorPrototype%': undefined$1,\n  '%AsyncFunction%': needsEval,\n  '%AsyncGenerator%': needsEval,\n  '%AsyncGeneratorFunction%': needsEval,\n  '%AsyncIteratorPrototype%': needsEval,\n  '%Atomics%': typeof Atomics === 'undefined' ? undefined$1 : Atomics,\n  '%BigInt%': typeof BigInt === 'undefined' ? undefined$1 : BigInt,\n  '%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined$1 : BigInt64Array,\n  '%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined$1 : BigUint64Array,\n  '%Boolean%': Boolean,\n  '%DataView%': typeof DataView === 'undefined' ? undefined$1 : DataView,\n  '%Date%': Date,\n  '%decodeURI%': decodeURI,\n  '%decodeURIComponent%': decodeURIComponent,\n  '%encodeURI%': encodeURI,\n  '%encodeURIComponent%': encodeURIComponent,\n  '%Error%': Error,\n  '%eval%': eval,\n  // eslint-disable-line no-eval\n  '%EvalError%': EvalError,\n  '%Float32Array%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array,\n  '%Float64Array%': typeof Float64Array === 'undefined' ? undefined$1 : Float64Array,\n  '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined$1 : FinalizationRegistry,\n  '%Function%': $Function,\n  '%GeneratorFunction%': needsEval,\n  '%Int8Array%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array,\n  '%Int16Array%': typeof Int16Array === 'undefined' ? undefined$1 : Int16Array,\n  '%Int32Array%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array,\n  '%isFinite%': isFinite,\n  '%isNaN%': isNaN,\n  '%IteratorPrototype%': hasSymbols$3 && getProto$1 ? getProto$1(getProto$1([][Symbol.iterator]())) : undefined$1,\n  '%JSON%': (typeof JSON === \"undefined\" ? \"undefined\" : _typeof(JSON)) === 'object' ? JSON : undefined$1,\n  '%Map%': typeof Map === 'undefined' ? undefined$1 : Map,\n  '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$3 || !getProto$1 ? undefined$1 : getProto$1(new Map()[Symbol.iterator]()),\n  '%Math%': Math,\n  '%Number%': Number,\n  '%Object%': Object,\n  '%parseFloat%': parseFloat,\n  '%parseInt%': parseInt,\n  '%Promise%': typeof Promise === 'undefined' ? undefined$1 : Promise,\n  '%Proxy%': typeof Proxy === 'undefined' ? undefined$1 : Proxy,\n  '%RangeError%': RangeError,\n  '%ReferenceError%': ReferenceError,\n  '%Reflect%': typeof Reflect === 'undefined' ? undefined$1 : Reflect,\n  '%RegExp%': RegExp,\n  '%Set%': typeof Set === 'undefined' ? undefined$1 : Set,\n  '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$3 || !getProto$1 ? undefined$1 : getProto$1(new Set()[Symbol.iterator]()),\n  '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer,\n  '%String%': String,\n  '%StringIteratorPrototype%': hasSymbols$3 && getProto$1 ? getProto$1(''[Symbol.iterator]()) : undefined$1,\n  '%Symbol%': hasSymbols$3 ? Symbol : undefined$1,\n  '%SyntaxError%': $SyntaxError,\n  '%ThrowTypeError%': ThrowTypeError,\n  '%TypedArray%': TypedArray,\n  '%TypeError%': $TypeError$6,\n  '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array,\n  '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray,\n  '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array,\n  '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array,\n  '%URIError%': URIError,\n  '%WeakMap%': typeof WeakMap === 'undefined' ? undefined$1 : WeakMap,\n  '%WeakRef%': typeof WeakRef === 'undefined' ? undefined$1 : WeakRef,\n  '%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet\n};\nif (getProto$1) {\n  try {\n    null.error; // eslint-disable-line no-unused-expressions\n  } catch (e) {\n    // https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229\n    var errorProto = getProto$1(getProto$1(e));\n    INTRINSICS['%Error.prototype%'] = errorProto;\n  }\n}\nvar doEval = function doEval(name) {\n  var value;\n  if (name === '%AsyncFunction%') {\n    value = getEvalledConstructor('async function () {}');\n  } else if (name === '%GeneratorFunction%') {\n    value = getEvalledConstructor('function* () {}');\n  } else if (name === '%AsyncGeneratorFunction%') {\n    value = getEvalledConstructor('async function* () {}');\n  } else if (name === '%AsyncGenerator%') {\n    var fn = doEval('%AsyncGeneratorFunction%');\n    if (fn) {\n      value = fn.prototype;\n    }\n  } else if (name === '%AsyncIteratorPrototype%') {\n    var gen = doEval('%AsyncGenerator%');\n    if (gen && getProto$1) {\n      value = getProto$1(gen.prototype);\n    }\n  }\n  INTRINSICS[name] = value;\n  return value;\n};\nvar LEGACY_ALIASES = {\n  '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],\n  '%ArrayPrototype%': ['Array', 'prototype'],\n  '%ArrayProto_entries%': ['Array', 'prototype', 'entries'],\n  '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],\n  '%ArrayProto_keys%': ['Array', 'prototype', 'keys'],\n  '%ArrayProto_values%': ['Array', 'prototype', 'values'],\n  '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],\n  '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],\n  '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],\n  '%BooleanPrototype%': ['Boolean', 'prototype'],\n  '%DataViewPrototype%': ['DataView', 'prototype'],\n  '%DatePrototype%': ['Date', 'prototype'],\n  '%ErrorPrototype%': ['Error', 'prototype'],\n  '%EvalErrorPrototype%': ['EvalError', 'prototype'],\n  '%Float32ArrayPrototype%': ['Float32Array', 'prototype'],\n  '%Float64ArrayPrototype%': ['Float64Array', 'prototype'],\n  '%FunctionPrototype%': ['Function', 'prototype'],\n  '%Generator%': ['GeneratorFunction', 'prototype'],\n  '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],\n  '%Int8ArrayPrototype%': ['Int8Array', 'prototype'],\n  '%Int16ArrayPrototype%': ['Int16Array', 'prototype'],\n  '%Int32ArrayPrototype%': ['Int32Array', 'prototype'],\n  '%JSONParse%': ['JSON', 'parse'],\n  '%JSONStringify%': ['JSON', 'stringify'],\n  '%MapPrototype%': ['Map', 'prototype'],\n  '%NumberPrototype%': ['Number', 'prototype'],\n  '%ObjectPrototype%': ['Object', 'prototype'],\n  '%ObjProto_toString%': ['Object', 'prototype', 'toString'],\n  '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],\n  '%PromisePrototype%': ['Promise', 'prototype'],\n  '%PromiseProto_then%': ['Promise', 'prototype', 'then'],\n  '%Promise_all%': ['Promise', 'all'],\n  '%Promise_reject%': ['Promise', 'reject'],\n  '%Promise_resolve%': ['Promise', 'resolve'],\n  '%RangeErrorPrototype%': ['RangeError', 'prototype'],\n  '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],\n  '%RegExpPrototype%': ['RegExp', 'prototype'],\n  '%SetPrototype%': ['Set', 'prototype'],\n  '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],\n  '%StringPrototype%': ['String', 'prototype'],\n  '%SymbolPrototype%': ['Symbol', 'prototype'],\n  '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],\n  '%TypedArrayPrototype%': ['TypedArray', 'prototype'],\n  '%TypeErrorPrototype%': ['TypeError', 'prototype'],\n  '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],\n  '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],\n  '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],\n  '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],\n  '%URIErrorPrototype%': ['URIError', 'prototype'],\n  '%WeakMapPrototype%': ['WeakMap', 'prototype'],\n  '%WeakSetPrototype%': ['WeakSet', 'prototype']\n};\nvar bind$1 = functionBind;\nvar hasOwn = src;\nvar $concat = bind$1.call(Function.call, Array.prototype.concat);\nvar $spliceApply = bind$1.call(Function.apply, Array.prototype.splice);\nvar $replace = bind$1.call(Function.call, String.prototype.replace);\nvar $strSlice = bind$1.call(Function.call, String.prototype.slice);\nvar $exec = bind$1.call(Function.call, RegExp.prototype.exec);\n\n/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */\nvar rePropName = /[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g;\nvar reEscapeChar = /\\\\(\\\\)?/g; /** Used to match backslashes in property paths. */\nvar stringToPath = function stringToPath(string) {\n  var first = $strSlice(string, 0, 1);\n  var last = $strSlice(string, -1);\n  if (first === '%' && last !== '%') {\n    throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`');\n  } else if (last === '%' && first !== '%') {\n    throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`');\n  }\n  var result = [];\n  $replace(string, rePropName, function (match, number, quote, subString) {\n    result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;\n  });\n  return result;\n};\n/* end adaptation */\n\nvar getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {\n  var intrinsicName = name;\n  var alias;\n  if (hasOwn(LEGACY_ALIASES, intrinsicName)) {\n    alias = LEGACY_ALIASES[intrinsicName];\n    intrinsicName = '%' + alias[0] + '%';\n  }\n  if (hasOwn(INTRINSICS, intrinsicName)) {\n    var value = INTRINSICS[intrinsicName];\n    if (value === needsEval) {\n      value = doEval(intrinsicName);\n    }\n    if (typeof value === 'undefined' && !allowMissing) {\n      throw new $TypeError$6('intrinsic ' + name + ' exists, but is not available. Please file an issue!');\n    }\n    return {\n      alias: alias,\n      name: intrinsicName,\n      value: value\n    };\n  }\n  throw new $SyntaxError('intrinsic ' + name + ' does not exist!');\n};\nvar getIntrinsic = function GetIntrinsic(name, allowMissing) {\n  if (typeof name !== 'string' || name.length === 0) {\n    throw new $TypeError$6('intrinsic name must be a non-empty string');\n  }\n  if (arguments.length > 1 && typeof allowMissing !== 'boolean') {\n    throw new $TypeError$6('\"allowMissing\" argument must be a boolean');\n  }\n  if ($exec(/^%?[^%]*%?$/, name) === null) {\n    throw new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');\n  }\n  var parts = stringToPath(name);\n  var intrinsicBaseName = parts.length > 0 ? parts[0] : '';\n  var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);\n  var intrinsicRealName = intrinsic.name;\n  var value = intrinsic.value;\n  var skipFurtherCaching = false;\n  var alias = intrinsic.alias;\n  if (alias) {\n    intrinsicBaseName = alias[0];\n    $spliceApply(parts, $concat([0, 1], alias));\n  }\n  for (var i = 1, isOwn = true; i < parts.length; i += 1) {\n    var part = parts[i];\n    var first = $strSlice(part, 0, 1);\n    var last = $strSlice(part, -1);\n    if ((first === '\"' || first === \"'\" || first === '`' || last === '\"' || last === \"'\" || last === '`') && first !== last) {\n      throw new $SyntaxError('property names with quotes must have matching quotes');\n    }\n    if (part === 'constructor' || !isOwn) {\n      skipFurtherCaching = true;\n    }\n    intrinsicBaseName += '.' + part;\n    intrinsicRealName = '%' + intrinsicBaseName + '%';\n    if (hasOwn(INTRINSICS, intrinsicRealName)) {\n      value = INTRINSICS[intrinsicRealName];\n    } else if (value != null) {\n      if (!(part in value)) {\n        if (!allowMissing) {\n          throw new $TypeError$6('base intrinsic for ' + name + ' exists, but the property is not available.');\n        }\n        return void undefined$1;\n      }\n      if ($gOPD && i + 1 >= parts.length) {\n        var desc = $gOPD(value, part);\n        isOwn = !!desc;\n\n        // By convention, when a data property is converted to an accessor\n        // property to emulate a data property that does not suffer from\n        // the override mistake, that accessor's getter is marked with\n        // an `originalValue` property. Here, when we detect this, we\n        // uphold the illusion by pretending to see that original data\n        // property, i.e., returning the value rather than the getter\n        // itself.\n        if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {\n          value = desc.get;\n        } else {\n          value = value[part];\n        }\n      } else {\n        isOwn = hasOwn(value, part);\n        value = value[part];\n      }\n      if (isOwn && !skipFurtherCaching) {\n        INTRINSICS[intrinsicRealName] = value;\n      }\n    }\n  }\n  return value;\n};\n\nvar GetIntrinsic$c = getIntrinsic;\nvar $defineProperty = GetIntrinsic$c('%Object.defineProperty%', true);\nvar hasPropertyDescriptors$2 = function hasPropertyDescriptors() {\n  if ($defineProperty) {\n    try {\n      $defineProperty({}, 'a', {\n        value: 1\n      });\n      return true;\n    } catch (e) {\n      // IE 8 has a broken defineProperty\n      return false;\n    }\n  }\n  return false;\n};\nhasPropertyDescriptors$2.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {\n  // node v0.6 has a bug where array lengths can be Set but not Defined\n  if (!hasPropertyDescriptors$2()) {\n    return null;\n  }\n  try {\n    return $defineProperty([], 'length', {\n      value: 1\n    }).length !== 1;\n  } catch (e) {\n    // In Firefox 4-22, defining length on an array throws an exception.\n    return true;\n  }\n};\nvar hasPropertyDescriptors_1 = hasPropertyDescriptors$2;\n\nvar keys = objectKeys;\nvar hasSymbols$2 = typeof Symbol === 'function' && _typeof(Symbol('foo')) === 'symbol';\nvar toStr$2 = Object.prototype.toString;\nvar concat = Array.prototype.concat;\nvar origDefineProperty = Object.defineProperty;\nvar isFunction = function isFunction(fn) {\n  return typeof fn === 'function' && toStr$2.call(fn) === '[object Function]';\n};\nvar hasPropertyDescriptors$1 = hasPropertyDescriptors_1();\nvar supportsDescriptors = origDefineProperty && hasPropertyDescriptors$1;\nvar defineProperty = function defineProperty(object, name, value, predicate) {\n  if (name in object) {\n    if (predicate === true) {\n      if (object[name] === value) {\n        return;\n      }\n    } else if (!isFunction(predicate) || !predicate()) {\n      return;\n    }\n  }\n  if (supportsDescriptors) {\n    origDefineProperty(object, name, {\n      configurable: true,\n      enumerable: false,\n      value: value,\n      writable: true\n    });\n  } else {\n    object[name] = value; // eslint-disable-line no-param-reassign\n  }\n};\n\nvar defineProperties$1 = function defineProperties(object, map) {\n  var predicates = arguments.length > 2 ? arguments[2] : {};\n  var props = keys(map);\n  if (hasSymbols$2) {\n    props = concat.call(props, Object.getOwnPropertySymbols(map));\n  }\n  for (var i = 0; i < props.length; i += 1) {\n    defineProperty(object, props[i], map[props[i]], predicates[props[i]]);\n  }\n};\ndefineProperties$1.supportsDescriptors = !!supportsDescriptors;\nvar defineProperties_1 = defineProperties$1;\n\nvar functionsHaveNames = function functionsHaveNames() {\n  return typeof function f() {}.name === 'string';\n};\nvar gOPD = Object.getOwnPropertyDescriptor;\nif (gOPD) {\n  try {\n    gOPD([], 'length');\n  } catch (e) {\n    // IE 8 has a broken gOPD\n    gOPD = null;\n  }\n}\nfunctionsHaveNames.functionsHaveConfigurableNames = function functionsHaveConfigurableNames() {\n  if (!functionsHaveNames() || !gOPD) {\n    return false;\n  }\n  var desc = gOPD(function () {}, 'name');\n  return !!desc && !!desc.configurable;\n};\nvar $bind = Function.prototype.bind;\nfunctionsHaveNames.boundFunctionsHaveNames = function boundFunctionsHaveNames() {\n  return functionsHaveNames() && typeof $bind === 'function' && function f() {}.bind().name !== '';\n};\nvar functionsHaveNames_1 = functionsHaveNames;\n\nvar callBind$1 = {exports: {}};\n\n(function (module) {\n\n  var bind = functionBind;\n  var GetIntrinsic = getIntrinsic;\n  var $apply = GetIntrinsic('%Function.prototype.apply%');\n  var $call = GetIntrinsic('%Function.prototype.call%');\n  var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);\n  var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);\n  var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);\n  var $max = GetIntrinsic('%Math.max%');\n  if ($defineProperty) {\n    try {\n      $defineProperty({}, 'a', {\n        value: 1\n      });\n    } catch (e) {\n      // IE 8 has a broken defineProperty\n      $defineProperty = null;\n    }\n  }\n  module.exports = function callBind(originalFunction) {\n    var func = $reflectApply(bind, $call, arguments);\n    if ($gOPD && $defineProperty) {\n      var desc = $gOPD(func, 'length');\n      if (desc.configurable) {\n        // original length, plus the receiver, minus any additional arguments (after the receiver)\n        $defineProperty(func, 'length', {\n          value: 1 + $max(0, originalFunction.length - (arguments.length - 1))\n        });\n      }\n    }\n    return func;\n  };\n  var applyBind = function applyBind() {\n    return $reflectApply(bind, $apply, arguments);\n  };\n  if ($defineProperty) {\n    $defineProperty(module.exports, 'apply', {\n      value: applyBind\n    });\n  } else {\n    module.exports.apply = applyBind;\n  }\n})(callBind$1);\nvar callBindExports = callBind$1.exports;\n\nvar GetIntrinsic$b = getIntrinsic;\nvar callBind = callBindExports;\nvar $indexOf = callBind(GetIntrinsic$b('String.prototype.indexOf'));\nvar callBound$3 = function callBoundIntrinsic(name, allowMissing) {\n  var intrinsic = GetIntrinsic$b(name, !!allowMissing);\n  if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {\n    return callBind(intrinsic);\n  }\n  return intrinsic;\n};\n\nvar isLeadingSurrogate$1;\nvar hasRequiredIsLeadingSurrogate;\nfunction requireIsLeadingSurrogate() {\n  if (hasRequiredIsLeadingSurrogate) return isLeadingSurrogate$1;\n  hasRequiredIsLeadingSurrogate = 1;\n  isLeadingSurrogate$1 = function isLeadingSurrogate(charCode) {\n    return typeof charCode === 'number' && charCode >= 0xD800 && charCode <= 0xDBFF;\n  };\n  return isLeadingSurrogate$1;\n}\n\nvar isTrailingSurrogate$1;\nvar hasRequiredIsTrailingSurrogate;\nfunction requireIsTrailingSurrogate() {\n  if (hasRequiredIsTrailingSurrogate) return isTrailingSurrogate$1;\n  hasRequiredIsTrailingSurrogate = 1;\n  isTrailingSurrogate$1 = function isTrailingSurrogate(charCode) {\n    return typeof charCode === 'number' && charCode >= 0xDC00 && charCode <= 0xDFFF;\n  };\n  return isTrailingSurrogate$1;\n}\n\n// https://262.ecma-international.org/5.1/#sec-8\n\nvar Type$9 = function Type(x) {\n  if (x === null) {\n    return 'Null';\n  }\n  if (typeof x === 'undefined') {\n    return 'Undefined';\n  }\n  if (typeof x === 'function' || _typeof(x) === 'object') {\n    return 'Object';\n  }\n  if (typeof x === 'number') {\n    return 'Number';\n  }\n  if (typeof x === 'boolean') {\n    return 'Boolean';\n  }\n  if (typeof x === 'string') {\n    return 'String';\n  }\n};\n\nvar ES5Type = Type$9;\n\n// https://262.ecma-international.org/11.0/#sec-ecmascript-data-types-and-values\n\nvar Type$8 = function Type(x) {\n  if (_typeof(x) === 'symbol') {\n    return 'Symbol';\n  }\n  if (typeof x === 'bigint') {\n    return 'BigInt';\n  }\n  return ES5Type(x);\n};\n\nvar UTF16SurrogatePairToCodePoint$1;\nvar hasRequiredUTF16SurrogatePairToCodePoint;\nfunction requireUTF16SurrogatePairToCodePoint() {\n  if (hasRequiredUTF16SurrogatePairToCodePoint) return UTF16SurrogatePairToCodePoint$1;\n  hasRequiredUTF16SurrogatePairToCodePoint = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $TypeError = GetIntrinsic('%TypeError%');\n  var $fromCharCode = GetIntrinsic('%String.fromCharCode%');\n  var isLeadingSurrogate = requireIsLeadingSurrogate();\n  var isTrailingSurrogate = requireIsTrailingSurrogate();\n\n  // https://tc39.es/ecma262/2020/#sec-utf16decodesurrogatepair\n\n  UTF16SurrogatePairToCodePoint$1 = function UTF16SurrogatePairToCodePoint(lead, trail) {\n    if (!isLeadingSurrogate(lead) || !isTrailingSurrogate(trail)) {\n      throw new $TypeError('Assertion failed: `lead` must be a leading surrogate char code, and `trail` must be a trailing surrogate char code');\n    }\n    // var cp = (lead - 0xD800) * 0x400 + (trail - 0xDC00) + 0x10000;\n    return $fromCharCode(lead) + $fromCharCode(trail);\n  };\n  return UTF16SurrogatePairToCodePoint$1;\n}\n\nvar GetIntrinsic$a = getIntrinsic;\nvar $TypeError$5 = GetIntrinsic$a('%TypeError%');\nvar callBound$2 = callBound$3;\nvar isLeadingSurrogate = requireIsLeadingSurrogate();\nvar isTrailingSurrogate = requireIsTrailingSurrogate();\nvar Type$7 = Type$8;\nvar UTF16SurrogatePairToCodePoint = requireUTF16SurrogatePairToCodePoint();\nvar $charAt = callBound$2('String.prototype.charAt');\nvar $charCodeAt = callBound$2('String.prototype.charCodeAt');\n\n// https://262.ecma-international.org/12.0/#sec-codepointat\n\nvar CodePointAt$1 = function CodePointAt(string, position) {\n  if (Type$7(string) !== 'String') {\n    throw new $TypeError$5('Assertion failed: `string` must be a String');\n  }\n  var size = string.length;\n  if (position < 0 || position >= size) {\n    throw new $TypeError$5('Assertion failed: `position` must be >= 0, and < the length of `string`');\n  }\n  var first = $charCodeAt(string, position);\n  var cp = $charAt(string, position);\n  var firstIsLeading = isLeadingSurrogate(first);\n  var firstIsTrailing = isTrailingSurrogate(first);\n  if (!firstIsLeading && !firstIsTrailing) {\n    return {\n      '[[CodePoint]]': cp,\n      '[[CodeUnitCount]]': 1,\n      '[[IsUnpairedSurrogate]]': false\n    };\n  }\n  if (firstIsTrailing || position + 1 === size) {\n    return {\n      '[[CodePoint]]': cp,\n      '[[CodeUnitCount]]': 1,\n      '[[IsUnpairedSurrogate]]': true\n    };\n  }\n  var second = $charCodeAt(string, position + 1);\n  if (!isTrailingSurrogate(second)) {\n    return {\n      '[[CodePoint]]': cp,\n      '[[CodeUnitCount]]': 1,\n      '[[IsUnpairedSurrogate]]': true\n    };\n  }\n  return {\n    '[[CodePoint]]': UTF16SurrogatePairToCodePoint(first, second),\n    '[[CodeUnitCount]]': 2,\n    '[[IsUnpairedSurrogate]]': false\n  };\n};\n\nvar GetIntrinsic$9 = getIntrinsic;\nvar $abs = GetIntrinsic$9('%Math.abs%');\n\n// http://262.ecma-international.org/5.1/#sec-5.2\n\nvar abs$1 = function abs(x) {\n  return $abs(x);\n};\n\nvar Type$6 = Type$8;\n\n// var modulo = require('./modulo');\nvar $floor = Math.floor;\n\n// http://262.ecma-international.org/11.0/#eqn-floor\n\nvar floor$1 = function floor(x) {\n  // return x - modulo(x, 1);\n  if (Type$6(x) === 'BigInt') {\n    return x;\n  }\n  return $floor(x);\n};\n\nvar _isNaN = Number.isNaN || function isNaN(a) {\n  return a !== a;\n};\n\nvar $isNaN$1 = _isNaN;\nvar _isFinite = function _isFinite(x) {\n  return (typeof x === 'number' || typeof x === 'bigint') && !$isNaN$1(x) && x !== Infinity && x !== -Infinity;\n};\n\nvar abs = abs$1;\nvar floor = floor$1;\nvar Type$5 = Type$8;\nvar $isNaN = _isNaN;\nvar $isFinite = _isFinite;\n\n// https://tc39.es/ecma262/#sec-isintegralnumber\n\nvar IsIntegralNumber$1 = function IsIntegralNumber(argument) {\n  if (Type$5(argument) !== 'Number' || $isNaN(argument) || !$isFinite(argument)) {\n    return false;\n  }\n  var absValue = abs(argument);\n  return floor(absValue) === absValue;\n};\n\nvar GetIntrinsic$8 = getIntrinsic;\nvar $Math = GetIntrinsic$8('%Math%');\nvar $Number = GetIntrinsic$8('%Number%');\nvar maxSafeInteger = $Number.MAX_SAFE_INTEGER || $Math.pow(2, 53) - 1;\n\nvar GetIntrinsic$7 = getIntrinsic;\nvar CodePointAt = CodePointAt$1;\nvar IsIntegralNumber = IsIntegralNumber$1;\nvar Type$4 = Type$8;\nvar MAX_SAFE_INTEGER = maxSafeInteger;\nvar $TypeError$4 = GetIntrinsic$7('%TypeError%');\n\n// https://262.ecma-international.org/12.0/#sec-advancestringindex\n\nvar AdvanceStringIndex$1 = function AdvanceStringIndex(S, index, unicode) {\n  if (Type$4(S) !== 'String') {\n    throw new $TypeError$4('Assertion failed: `S` must be a String');\n  }\n  if (!IsIntegralNumber(index) || index < 0 || index > MAX_SAFE_INTEGER) {\n    throw new $TypeError$4('Assertion failed: `length` must be an integer >= 0 and <= 2**53');\n  }\n  if (Type$4(unicode) !== 'Boolean') {\n    throw new $TypeError$4('Assertion failed: `unicode` must be a Boolean');\n  }\n  if (!unicode) {\n    return index + 1;\n  }\n  var length = S.length;\n  if (index + 1 >= length) {\n    return index + 1;\n  }\n  var cp = CodePointAt(S, index);\n  return index + cp['[[CodeUnitCount]]'];\n};\n\nvar IsPropertyKey$3;\nvar hasRequiredIsPropertyKey;\nfunction requireIsPropertyKey() {\n  if (hasRequiredIsPropertyKey) return IsPropertyKey$3;\n  hasRequiredIsPropertyKey = 1;\n\n  // https://262.ecma-international.org/6.0/#sec-ispropertykey\n\n  IsPropertyKey$3 = function IsPropertyKey(argument) {\n    return typeof argument === 'string' || _typeof(argument) === 'symbol';\n  };\n  return IsPropertyKey$3;\n}\n\nvar gopd;\nvar hasRequiredGopd;\nfunction requireGopd() {\n  if (hasRequiredGopd) return gopd;\n  hasRequiredGopd = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);\n  if ($gOPD) {\n    try {\n      $gOPD([], 'length');\n    } catch (e) {\n      // IE 8 has a broken gOPD\n      $gOPD = null;\n    }\n  }\n  gopd = $gOPD;\n  return gopd;\n}\n\nvar isPropertyDescriptor;\nvar hasRequiredIsPropertyDescriptor;\nfunction requireIsPropertyDescriptor() {\n  if (hasRequiredIsPropertyDescriptor) return isPropertyDescriptor;\n  hasRequiredIsPropertyDescriptor = 1;\n  var GetIntrinsic = getIntrinsic;\n  var has = src;\n  var $TypeError = GetIntrinsic('%TypeError%');\n  isPropertyDescriptor = function IsPropertyDescriptor(ES, Desc) {\n    if (ES.Type(Desc) !== 'Object') {\n      return false;\n    }\n    var allowed = {\n      '[[Configurable]]': true,\n      '[[Enumerable]]': true,\n      '[[Get]]': true,\n      '[[Set]]': true,\n      '[[Value]]': true,\n      '[[Writable]]': true\n    };\n    for (var key in Desc) {\n      // eslint-disable-line no-restricted-syntax\n      if (has(Desc, key) && !allowed[key]) {\n        return false;\n      }\n    }\n    if (ES.IsDataDescriptor(Desc) && ES.IsAccessorDescriptor(Desc)) {\n      throw new $TypeError('Property Descriptors may not be both accessor and data descriptors');\n    }\n    return true;\n  };\n  return isPropertyDescriptor;\n}\n\nvar isMatchRecord;\nvar hasRequiredIsMatchRecord;\nfunction requireIsMatchRecord() {\n  if (hasRequiredIsMatchRecord) return isMatchRecord;\n  hasRequiredIsMatchRecord = 1;\n  var has = src;\n\n  // https://262.ecma-international.org/13.0/#sec-match-records\n\n  isMatchRecord = function isMatchRecord(record) {\n    return has(record, '[[StartIndex]]') && has(record, '[[EndIndex]]') && record['[[StartIndex]]'] >= 0 && record['[[EndIndex]]'] >= record['[[StartIndex]]'] && String(parseInt(record['[[StartIndex]]'], 10)) === String(record['[[StartIndex]]']) && String(parseInt(record['[[EndIndex]]'], 10)) === String(record['[[EndIndex]]']);\n  };\n  return isMatchRecord;\n}\n\nvar assertRecord;\nvar hasRequiredAssertRecord;\nfunction requireAssertRecord() {\n  if (hasRequiredAssertRecord) return assertRecord;\n  hasRequiredAssertRecord = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $TypeError = GetIntrinsic('%TypeError%');\n  var $SyntaxError = GetIntrinsic('%SyntaxError%');\n  var has = src;\n  var isMatchRecord = requireIsMatchRecord();\n  var predicates = {\n    // https://262.ecma-international.org/6.0/#sec-property-descriptor-specification-type\n    'Property Descriptor': function isPropertyDescriptor(Desc) {\n      var allowed = {\n        '[[Configurable]]': true,\n        '[[Enumerable]]': true,\n        '[[Get]]': true,\n        '[[Set]]': true,\n        '[[Value]]': true,\n        '[[Writable]]': true\n      };\n      if (!Desc) {\n        return false;\n      }\n      for (var key in Desc) {\n        // eslint-disable-line\n        if (has(Desc, key) && !allowed[key]) {\n          return false;\n        }\n      }\n      var isData = has(Desc, '[[Value]]');\n      var IsAccessor = has(Desc, '[[Get]]') || has(Desc, '[[Set]]');\n      if (isData && IsAccessor) {\n        throw new $TypeError('Property Descriptors may not be both accessor and data descriptors');\n      }\n      return true;\n    },\n    // https://262.ecma-international.org/13.0/#sec-match-records\n    'Match Record': isMatchRecord,\n    'Iterator Record': function isIteratorRecord(value) {\n      return has(value, '[[Iterator]]') && has(value, '[[NextMethod]]') && has(value, '[[Done]]');\n    },\n    'PromiseCapability Record': function isPromiseCapabilityRecord(value) {\n      return !!value && has(value, '[[Resolve]]') && typeof value['[[Resolve]]'] === 'function' && has(value, '[[Reject]]') && typeof value['[[Reject]]'] === 'function' && has(value, '[[Promise]]') && value['[[Promise]]'] && typeof value['[[Promise]]'].then === 'function';\n    },\n    'AsyncGeneratorRequest Record': function isAsyncGeneratorRequestRecord(value) {\n      return !!value && has(value, '[[Completion]]') // TODO: confirm is a completion record\n      && has(value, '[[Capability]]') && predicates['PromiseCapability Record'](value['[[Capability]]']);\n    }\n  };\n  assertRecord = function assertRecord(Type, recordType, argumentName, value) {\n    var predicate = predicates[recordType];\n    if (typeof predicate !== 'function') {\n      throw new $SyntaxError('unknown record type: ' + recordType);\n    }\n    if (Type(value) !== 'Object' || !predicate(value)) {\n      throw new $TypeError(argumentName + ' must be a ' + recordType);\n    }\n  };\n  return assertRecord;\n}\n\nvar IsAccessorDescriptor;\nvar hasRequiredIsAccessorDescriptor;\nfunction requireIsAccessorDescriptor() {\n  if (hasRequiredIsAccessorDescriptor) return IsAccessorDescriptor;\n  hasRequiredIsAccessorDescriptor = 1;\n  var has = src;\n  var Type = Type$8;\n  var assertRecord = requireAssertRecord();\n\n  // https://262.ecma-international.org/5.1/#sec-8.10.1\n\n  IsAccessorDescriptor = function IsAccessorDescriptor(Desc) {\n    if (typeof Desc === 'undefined') {\n      return false;\n    }\n    assertRecord(Type, 'Property Descriptor', 'Desc', Desc);\n    if (!has(Desc, '[[Get]]') && !has(Desc, '[[Set]]')) {\n      return false;\n    }\n    return true;\n  };\n  return IsAccessorDescriptor;\n}\n\nvar IsDataDescriptor$1;\nvar hasRequiredIsDataDescriptor;\nfunction requireIsDataDescriptor() {\n  if (hasRequiredIsDataDescriptor) return IsDataDescriptor$1;\n  hasRequiredIsDataDescriptor = 1;\n  var has = src;\n  var Type = Type$8;\n  var assertRecord = requireAssertRecord();\n\n  // https://262.ecma-international.org/5.1/#sec-8.10.2\n\n  IsDataDescriptor$1 = function IsDataDescriptor(Desc) {\n    if (typeof Desc === 'undefined') {\n      return false;\n    }\n    assertRecord(Type, 'Property Descriptor', 'Desc', Desc);\n    if (!has(Desc, '[[Value]]') && !has(Desc, '[[Writable]]')) {\n      return false;\n    }\n    return true;\n  };\n  return IsDataDescriptor$1;\n}\n\nvar isPrimitive;\nvar hasRequiredIsPrimitive;\nfunction requireIsPrimitive() {\n  if (hasRequiredIsPrimitive) return isPrimitive;\n  hasRequiredIsPrimitive = 1;\n  isPrimitive = function isPrimitive(value) {\n    return value === null || typeof value !== 'function' && _typeof(value) !== 'object';\n  };\n  return isPrimitive;\n}\n\nvar IsExtensible;\nvar hasRequiredIsExtensible;\nfunction requireIsExtensible() {\n  if (hasRequiredIsExtensible) return IsExtensible;\n  hasRequiredIsExtensible = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $preventExtensions = GetIntrinsic('%Object.preventExtensions%', true);\n  var $isExtensible = GetIntrinsic('%Object.isExtensible%', true);\n  var isPrimitive = requireIsPrimitive();\n\n  // https://262.ecma-international.org/6.0/#sec-isextensible-o\n\n  IsExtensible = $preventExtensions ? function IsExtensible(obj) {\n    return !isPrimitive(obj) && $isExtensible(obj);\n  } : function IsExtensible(obj) {\n    return !isPrimitive(obj);\n  };\n  return IsExtensible;\n}\n\nvar ToBoolean;\nvar hasRequiredToBoolean;\nfunction requireToBoolean() {\n  if (hasRequiredToBoolean) return ToBoolean;\n  hasRequiredToBoolean = 1;\n\n  // http://262.ecma-international.org/5.1/#sec-9.2\n\n  ToBoolean = function ToBoolean(value) {\n    return !!value;\n  };\n  return ToBoolean;\n}\n\nvar isCallable;\nvar hasRequiredIsCallable$1;\nfunction requireIsCallable$1() {\n  if (hasRequiredIsCallable$1) return isCallable;\n  hasRequiredIsCallable$1 = 1;\n  var fnToStr = Function.prototype.toString;\n  var reflectApply = (typeof Reflect === \"undefined\" ? \"undefined\" : _typeof(Reflect)) === 'object' && Reflect !== null && Reflect.apply;\n  var badArrayLike;\n  var isCallableMarker;\n  if (typeof reflectApply === 'function' && typeof Object.defineProperty === 'function') {\n    try {\n      badArrayLike = Object.defineProperty({}, 'length', {\n        get: function get() {\n          throw isCallableMarker;\n        }\n      });\n      isCallableMarker = {};\n      // eslint-disable-next-line no-throw-literal\n      reflectApply(function () {\n        throw 42;\n      }, null, badArrayLike);\n    } catch (_) {\n      if (_ !== isCallableMarker) {\n        reflectApply = null;\n      }\n    }\n  } else {\n    reflectApply = null;\n  }\n  var constructorRegex = /^\\s*class\\b/;\n  var isES6ClassFn = function isES6ClassFunction(value) {\n    try {\n      var fnStr = fnToStr.call(value);\n      return constructorRegex.test(fnStr);\n    } catch (e) {\n      return false; // not a function\n    }\n  };\n\n  var tryFunctionObject = function tryFunctionToStr(value) {\n    try {\n      if (isES6ClassFn(value)) {\n        return false;\n      }\n      fnToStr.call(value);\n      return true;\n    } catch (e) {\n      return false;\n    }\n  };\n  var toStr = Object.prototype.toString;\n  var objectClass = '[object Object]';\n  var fnClass = '[object Function]';\n  var genClass = '[object GeneratorFunction]';\n  var ddaClass = '[object HTMLAllCollection]'; // IE 11\n  var ddaClass2 = '[object HTML document.all class]';\n  var ddaClass3 = '[object HTMLCollection]'; // IE 9-10\n  var hasToStringTag = typeof Symbol === 'function' && !!Symbol.toStringTag; // better: use `has-tostringtag`\n\n  var isIE68 = !(0 in [,]); // eslint-disable-line no-sparse-arrays, comma-spacing\n\n  var isDDA = function isDocumentDotAll() {\n    return false;\n  };\n  if ((typeof document === \"undefined\" ? \"undefined\" : _typeof(document)) === 'object') {\n    // Firefox 3 canonicalizes DDA to undefined when it's not accessed directly\n    var all = document.all;\n    if (toStr.call(all) === toStr.call(document.all)) {\n      isDDA = function isDocumentDotAll(value) {\n        /* globals document: false */\n        // in IE 6-8, typeof document.all is \"object\" and it's truthy\n        if ((isIE68 || !value) && (typeof value === 'undefined' || _typeof(value) === 'object')) {\n          try {\n            var str = toStr.call(value);\n            return (str === ddaClass || str === ddaClass2 || str === ddaClass3 // opera 12.16\n            || str === objectClass // IE 6-8\n            ) && value('') == null; // eslint-disable-line eqeqeq\n          } catch (e) {/**/}\n        }\n        return false;\n      };\n    }\n  }\n  isCallable = reflectApply ? function isCallable(value) {\n    if (isDDA(value)) {\n      return true;\n    }\n    if (!value) {\n      return false;\n    }\n    if (typeof value !== 'function' && _typeof(value) !== 'object') {\n      return false;\n    }\n    try {\n      reflectApply(value, null, badArrayLike);\n    } catch (e) {\n      if (e !== isCallableMarker) {\n        return false;\n      }\n    }\n    return !isES6ClassFn(value) && tryFunctionObject(value);\n  } : function isCallable(value) {\n    if (isDDA(value)) {\n      return true;\n    }\n    if (!value) {\n      return false;\n    }\n    if (typeof value !== 'function' && _typeof(value) !== 'object') {\n      return false;\n    }\n    if (hasToStringTag) {\n      return tryFunctionObject(value);\n    }\n    if (isES6ClassFn(value)) {\n      return false;\n    }\n    var strClass = toStr.call(value);\n    if (strClass !== fnClass && strClass !== genClass && !/^\\[object HTML/.test(strClass)) {\n      return false;\n    }\n    return tryFunctionObject(value);\n  };\n  return isCallable;\n}\n\nvar IsCallable$1;\nvar hasRequiredIsCallable;\nfunction requireIsCallable() {\n  if (hasRequiredIsCallable) return IsCallable$1;\n  hasRequiredIsCallable = 1;\n\n  // http://262.ecma-international.org/5.1/#sec-9.11\n\n  IsCallable$1 = requireIsCallable$1();\n  return IsCallable$1;\n}\n\nvar ToPropertyDescriptor;\nvar hasRequiredToPropertyDescriptor;\nfunction requireToPropertyDescriptor() {\n  if (hasRequiredToPropertyDescriptor) return ToPropertyDescriptor;\n  hasRequiredToPropertyDescriptor = 1;\n  var has = src;\n  var GetIntrinsic = getIntrinsic;\n  var $TypeError = GetIntrinsic('%TypeError%');\n  var Type = Type$8;\n  var ToBoolean = requireToBoolean();\n  var IsCallable = requireIsCallable();\n\n  // https://262.ecma-international.org/5.1/#sec-8.10.5\n\n  ToPropertyDescriptor = function ToPropertyDescriptor(Obj) {\n    if (Type(Obj) !== 'Object') {\n      throw new $TypeError('ToPropertyDescriptor requires an object');\n    }\n    var desc = {};\n    if (has(Obj, 'enumerable')) {\n      desc['[[Enumerable]]'] = ToBoolean(Obj.enumerable);\n    }\n    if (has(Obj, 'configurable')) {\n      desc['[[Configurable]]'] = ToBoolean(Obj.configurable);\n    }\n    if (has(Obj, 'value')) {\n      desc['[[Value]]'] = Obj.value;\n    }\n    if (has(Obj, 'writable')) {\n      desc['[[Writable]]'] = ToBoolean(Obj.writable);\n    }\n    if (has(Obj, 'get')) {\n      var getter = Obj.get;\n      if (typeof getter !== 'undefined' && !IsCallable(getter)) {\n        throw new $TypeError('getter must be a function');\n      }\n      desc['[[Get]]'] = getter;\n    }\n    if (has(Obj, 'set')) {\n      var setter = Obj.set;\n      if (typeof setter !== 'undefined' && !IsCallable(setter)) {\n        throw new $TypeError('setter must be a function');\n      }\n      desc['[[Set]]'] = setter;\n    }\n    if ((has(desc, '[[Get]]') || has(desc, '[[Set]]')) && (has(desc, '[[Value]]') || has(desc, '[[Writable]]'))) {\n      throw new $TypeError('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');\n    }\n    return desc;\n  };\n  return ToPropertyDescriptor;\n}\n\nvar SameValue$1;\nvar hasRequiredSameValue;\nfunction requireSameValue() {\n  if (hasRequiredSameValue) return SameValue$1;\n  hasRequiredSameValue = 1;\n  var $isNaN = _isNaN;\n\n  // http://262.ecma-international.org/5.1/#sec-9.12\n\n  SameValue$1 = function SameValue(x, y) {\n    if (x === y) {\n      // 0 === -0, but they are not identical.\n      if (x === 0) {\n        return 1 / x === 1 / y;\n      }\n      return true;\n    }\n    return $isNaN(x) && $isNaN(y);\n  };\n  return SameValue$1;\n}\n\nvar GetIntrinsic$6 = getIntrinsic;\nvar $Array = GetIntrinsic$6('%Array%');\n\n// eslint-disable-next-line global-require\nvar toStr$1 = !$Array.isArray && callBound$3('Object.prototype.toString');\nvar IsArray$2 = $Array.isArray || function IsArray(argument) {\n  return toStr$1(argument) === '[object Array]';\n};\n\nvar DefineOwnProperty$1;\nvar hasRequiredDefineOwnProperty;\nfunction requireDefineOwnProperty() {\n  if (hasRequiredDefineOwnProperty) return DefineOwnProperty$1;\n  hasRequiredDefineOwnProperty = 1;\n  var hasPropertyDescriptors = hasPropertyDescriptors_1;\n  var GetIntrinsic = getIntrinsic;\n  var $defineProperty = hasPropertyDescriptors() && GetIntrinsic('%Object.defineProperty%', true);\n  var hasArrayLengthDefineBug = hasPropertyDescriptors.hasArrayLengthDefineBug();\n\n  // eslint-disable-next-line global-require\n  var isArray = hasArrayLengthDefineBug && IsArray$2;\n  var callBound = callBound$3;\n  var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable');\n\n  // eslint-disable-next-line max-params\n  DefineOwnProperty$1 = function DefineOwnProperty(IsDataDescriptor, SameValue, FromPropertyDescriptor, O, P, desc) {\n    if (!$defineProperty) {\n      if (!IsDataDescriptor(desc)) {\n        // ES3 does not support getters/setters\n        return false;\n      }\n      if (!desc['[[Configurable]]'] || !desc['[[Writable]]']) {\n        return false;\n      }\n\n      // fallback for ES3\n      if (P in O && $isEnumerable(O, P) !== !!desc['[[Enumerable]]']) {\n        // a non-enumerable existing property\n        return false;\n      }\n\n      // property does not exist at all, or exists but is enumerable\n      var V = desc['[[Value]]'];\n      // eslint-disable-next-line no-param-reassign\n      O[P] = V; // will use [[Define]]\n      return SameValue(O[P], V);\n    }\n    if (hasArrayLengthDefineBug && P === 'length' && '[[Value]]' in desc && isArray(O) && O.length !== desc['[[Value]]']) {\n      // eslint-disable-next-line no-param-reassign\n      O.length = desc['[[Value]]'];\n      return O.length === desc['[[Value]]'];\n    }\n    $defineProperty(O, P, FromPropertyDescriptor(desc));\n    return true;\n  };\n  return DefineOwnProperty$1;\n}\n\nvar isFullyPopulatedPropertyDescriptor;\nvar hasRequiredIsFullyPopulatedPropertyDescriptor;\nfunction requireIsFullyPopulatedPropertyDescriptor() {\n  if (hasRequiredIsFullyPopulatedPropertyDescriptor) return isFullyPopulatedPropertyDescriptor;\n  hasRequiredIsFullyPopulatedPropertyDescriptor = 1;\n  isFullyPopulatedPropertyDescriptor = function isFullyPopulatedPropertyDescriptor(ES, Desc) {\n    return !!Desc && _typeof(Desc) === 'object' && '[[Enumerable]]' in Desc && '[[Configurable]]' in Desc && (ES.IsAccessorDescriptor(Desc) || ES.IsDataDescriptor(Desc));\n  };\n  return isFullyPopulatedPropertyDescriptor;\n}\n\nvar fromPropertyDescriptor;\nvar hasRequiredFromPropertyDescriptor$1;\nfunction requireFromPropertyDescriptor$1() {\n  if (hasRequiredFromPropertyDescriptor$1) return fromPropertyDescriptor;\n  hasRequiredFromPropertyDescriptor$1 = 1;\n  fromPropertyDescriptor = function fromPropertyDescriptor(Desc) {\n    if (typeof Desc === 'undefined') {\n      return Desc;\n    }\n    var obj = {};\n    if ('[[Value]]' in Desc) {\n      obj.value = Desc['[[Value]]'];\n    }\n    if ('[[Writable]]' in Desc) {\n      obj.writable = !!Desc['[[Writable]]'];\n    }\n    if ('[[Get]]' in Desc) {\n      obj.get = Desc['[[Get]]'];\n    }\n    if ('[[Set]]' in Desc) {\n      obj.set = Desc['[[Set]]'];\n    }\n    if ('[[Enumerable]]' in Desc) {\n      obj.enumerable = !!Desc['[[Enumerable]]'];\n    }\n    if ('[[Configurable]]' in Desc) {\n      obj.configurable = !!Desc['[[Configurable]]'];\n    }\n    return obj;\n  };\n  return fromPropertyDescriptor;\n}\n\nvar FromPropertyDescriptor$1;\nvar hasRequiredFromPropertyDescriptor;\nfunction requireFromPropertyDescriptor() {\n  if (hasRequiredFromPropertyDescriptor) return FromPropertyDescriptor$1;\n  hasRequiredFromPropertyDescriptor = 1;\n  var assertRecord = requireAssertRecord();\n  var fromPropertyDescriptor = requireFromPropertyDescriptor$1();\n  var Type = Type$8;\n\n  // https://262.ecma-international.org/6.0/#sec-frompropertydescriptor\n\n  FromPropertyDescriptor$1 = function FromPropertyDescriptor(Desc) {\n    if (typeof Desc !== 'undefined') {\n      assertRecord(Type, 'Property Descriptor', 'Desc', Desc);\n    }\n    return fromPropertyDescriptor(Desc);\n  };\n  return FromPropertyDescriptor$1;\n}\n\nvar IsGenericDescriptor;\nvar hasRequiredIsGenericDescriptor;\nfunction requireIsGenericDescriptor() {\n  if (hasRequiredIsGenericDescriptor) return IsGenericDescriptor;\n  hasRequiredIsGenericDescriptor = 1;\n  var assertRecord = requireAssertRecord();\n  var IsAccessorDescriptor = requireIsAccessorDescriptor();\n  var IsDataDescriptor = requireIsDataDescriptor();\n  var Type = Type$8;\n\n  // https://262.ecma-international.org/6.0/#sec-isgenericdescriptor\n\n  IsGenericDescriptor = function IsGenericDescriptor(Desc) {\n    if (typeof Desc === 'undefined') {\n      return false;\n    }\n    assertRecord(Type, 'Property Descriptor', 'Desc', Desc);\n    if (!IsAccessorDescriptor(Desc) && !IsDataDescriptor(Desc)) {\n      return true;\n    }\n    return false;\n  };\n  return IsGenericDescriptor;\n}\n\nvar ValidateAndApplyPropertyDescriptor;\nvar hasRequiredValidateAndApplyPropertyDescriptor;\nfunction requireValidateAndApplyPropertyDescriptor() {\n  if (hasRequiredValidateAndApplyPropertyDescriptor) return ValidateAndApplyPropertyDescriptor;\n  hasRequiredValidateAndApplyPropertyDescriptor = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $TypeError = GetIntrinsic('%TypeError%');\n  var DefineOwnProperty = requireDefineOwnProperty();\n  var isFullyPopulatedPropertyDescriptor = requireIsFullyPopulatedPropertyDescriptor();\n  var isPropertyDescriptor = requireIsPropertyDescriptor();\n  var FromPropertyDescriptor = requireFromPropertyDescriptor();\n  var IsAccessorDescriptor = requireIsAccessorDescriptor();\n  var IsDataDescriptor = requireIsDataDescriptor();\n  var IsGenericDescriptor = requireIsGenericDescriptor();\n  var IsPropertyKey = requireIsPropertyKey();\n  var SameValue = requireSameValue();\n  var Type = Type$8;\n\n  // https://262.ecma-international.org/13.0/#sec-validateandapplypropertydescriptor\n\n  // see https://github.com/tc39/ecma262/pull/2468 for ES2022 changes\n\n  // eslint-disable-next-line max-lines-per-function, max-statements, max-params\n  ValidateAndApplyPropertyDescriptor = function ValidateAndApplyPropertyDescriptor(O, P, extensible, Desc, current) {\n    var oType = Type(O);\n    if (oType !== 'Undefined' && oType !== 'Object') {\n      throw new $TypeError('Assertion failed: O must be undefined or an Object');\n    }\n    if (!IsPropertyKey(P)) {\n      throw new $TypeError('Assertion failed: P must be a Property Key');\n    }\n    if (Type(extensible) !== 'Boolean') {\n      throw new $TypeError('Assertion failed: extensible must be a Boolean');\n    }\n    if (!isPropertyDescriptor({\n      Type: Type,\n      IsDataDescriptor: IsDataDescriptor,\n      IsAccessorDescriptor: IsAccessorDescriptor\n    }, Desc)) {\n      throw new $TypeError('Assertion failed: Desc must be a Property Descriptor');\n    }\n    if (Type(current) !== 'Undefined' && !isPropertyDescriptor({\n      Type: Type,\n      IsDataDescriptor: IsDataDescriptor,\n      IsAccessorDescriptor: IsAccessorDescriptor\n    }, current)) {\n      throw new $TypeError('Assertion failed: current must be a Property Descriptor, or undefined');\n    }\n    if (Type(current) === 'Undefined') {\n      // step 2\n      if (!extensible) {\n        return false; // step 2.a\n      }\n\n      if (oType === 'Undefined') {\n        return true; // step 2.b\n      }\n\n      if (IsAccessorDescriptor(Desc)) {\n        // step 2.c\n        return DefineOwnProperty(IsDataDescriptor, SameValue, FromPropertyDescriptor, O, P, Desc);\n      }\n      // step 2.d\n      return DefineOwnProperty(IsDataDescriptor, SameValue, FromPropertyDescriptor, O, P, {\n        '[[Configurable]]': !!Desc['[[Configurable]]'],\n        '[[Enumerable]]': !!Desc['[[Enumerable]]'],\n        '[[Value]]': Desc['[[Value]]'],\n        '[[Writable]]': !!Desc['[[Writable]]']\n      });\n    }\n\n    // 3. Assert: current is a fully populated Property Descriptor.\n    if (!isFullyPopulatedPropertyDescriptor({\n      IsAccessorDescriptor: IsAccessorDescriptor,\n      IsDataDescriptor: IsDataDescriptor\n    }, current)) {\n      throw new $TypeError('`current`, when present, must be a fully populated and valid Property Descriptor');\n    }\n\n    // 4. If every field in Desc is absent, return true.\n    // this can't really match the assertion that it's a Property Descriptor in our JS implementation\n\n    // 5. If current.[[Configurable]] is false, then\n    if (!current['[[Configurable]]']) {\n      if ('[[Configurable]]' in Desc && Desc['[[Configurable]]']) {\n        // step 5.a\n        return false;\n      }\n      if ('[[Enumerable]]' in Desc && !SameValue(Desc['[[Enumerable]]'], current['[[Enumerable]]'])) {\n        // step 5.b\n        return false;\n      }\n      if (!IsGenericDescriptor(Desc) && !SameValue(IsAccessorDescriptor(Desc), IsAccessorDescriptor(current))) {\n        // step 5.c\n        return false;\n      }\n      if (IsAccessorDescriptor(current)) {\n        // step 5.d\n        if ('[[Get]]' in Desc && !SameValue(Desc['[[Get]]'], current['[[Get]]'])) {\n          return false;\n        }\n        if ('[[Set]]' in Desc && !SameValue(Desc['[[Set]]'], current['[[Set]]'])) {\n          return false;\n        }\n      } else if (!current['[[Writable]]']) {\n        // step 5.e\n        if ('[[Writable]]' in Desc && Desc['[[Writable]]']) {\n          return false;\n        }\n        if ('[[Value]]' in Desc && !SameValue(Desc['[[Value]]'], current['[[Value]]'])) {\n          return false;\n        }\n      }\n    }\n\n    // 6. If O is not undefined, then\n    if (oType !== 'Undefined') {\n      var configurable;\n      var enumerable;\n      if (IsDataDescriptor(current) && IsAccessorDescriptor(Desc)) {\n        // step 6.a\n        configurable = ('[[Configurable]]' in Desc ? Desc : current)['[[Configurable]]'];\n        enumerable = ('[[Enumerable]]' in Desc ? Desc : current)['[[Enumerable]]'];\n        // Replace the property named P of object O with an accessor property having [[Configurable]] and [[Enumerable]] attributes as described by current and each other attribute set to its default value.\n        return DefineOwnProperty(IsDataDescriptor, SameValue, FromPropertyDescriptor, O, P, {\n          '[[Configurable]]': !!configurable,\n          '[[Enumerable]]': !!enumerable,\n          '[[Get]]': ('[[Get]]' in Desc ? Desc : current)['[[Get]]'],\n          '[[Set]]': ('[[Set]]' in Desc ? Desc : current)['[[Set]]']\n        });\n      } else if (IsAccessorDescriptor(current) && IsDataDescriptor(Desc)) {\n        configurable = ('[[Configurable]]' in Desc ? Desc : current)['[[Configurable]]'];\n        enumerable = ('[[Enumerable]]' in Desc ? Desc : current)['[[Enumerable]]'];\n        // i. Replace the property named P of object O with a data property having [[Configurable]] and [[Enumerable]] attributes as described by current and each other attribute set to its default value.\n        return DefineOwnProperty(IsDataDescriptor, SameValue, FromPropertyDescriptor, O, P, {\n          '[[Configurable]]': !!configurable,\n          '[[Enumerable]]': !!enumerable,\n          '[[Value]]': ('[[Value]]' in Desc ? Desc : current)['[[Value]]'],\n          '[[Writable]]': !!('[[Writable]]' in Desc ? Desc : current)['[[Writable]]']\n        });\n      }\n\n      // For each field of Desc that is present, set the corresponding attribute of the property named P of object O to the value of the field.\n      return DefineOwnProperty(IsDataDescriptor, SameValue, FromPropertyDescriptor, O, P, Desc);\n    }\n    return true; // step 7\n  };\n\n  return ValidateAndApplyPropertyDescriptor;\n}\n\nvar OrdinaryDefineOwnProperty;\nvar hasRequiredOrdinaryDefineOwnProperty;\nfunction requireOrdinaryDefineOwnProperty() {\n  if (hasRequiredOrdinaryDefineOwnProperty) return OrdinaryDefineOwnProperty;\n  hasRequiredOrdinaryDefineOwnProperty = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $gOPD = requireGopd();\n  var $SyntaxError = GetIntrinsic('%SyntaxError%');\n  var $TypeError = GetIntrinsic('%TypeError%');\n  var isPropertyDescriptor = requireIsPropertyDescriptor();\n  var IsAccessorDescriptor = requireIsAccessorDescriptor();\n  var IsDataDescriptor = requireIsDataDescriptor();\n  var IsExtensible = requireIsExtensible();\n  var IsPropertyKey = requireIsPropertyKey();\n  var ToPropertyDescriptor = requireToPropertyDescriptor();\n  var SameValue = requireSameValue();\n  var Type = Type$8;\n  var ValidateAndApplyPropertyDescriptor = requireValidateAndApplyPropertyDescriptor();\n\n  // https://262.ecma-international.org/6.0/#sec-ordinarydefineownproperty\n\n  OrdinaryDefineOwnProperty = function OrdinaryDefineOwnProperty(O, P, Desc) {\n    if (Type(O) !== 'Object') {\n      throw new $TypeError('Assertion failed: O must be an Object');\n    }\n    if (!IsPropertyKey(P)) {\n      throw new $TypeError('Assertion failed: P must be a Property Key');\n    }\n    if (!isPropertyDescriptor({\n      Type: Type,\n      IsDataDescriptor: IsDataDescriptor,\n      IsAccessorDescriptor: IsAccessorDescriptor\n    }, Desc)) {\n      throw new $TypeError('Assertion failed: Desc must be a Property Descriptor');\n    }\n    if (!$gOPD) {\n      // ES3/IE 8 fallback\n      if (IsAccessorDescriptor(Desc)) {\n        throw new $SyntaxError('This environment does not support accessor property descriptors.');\n      }\n      var creatingNormalDataProperty = !(P in O) && Desc['[[Writable]]'] && Desc['[[Enumerable]]'] && Desc['[[Configurable]]'] && '[[Value]]' in Desc;\n      var settingExistingDataProperty = P in O && (!('[[Configurable]]' in Desc) || Desc['[[Configurable]]']) && (!('[[Enumerable]]' in Desc) || Desc['[[Enumerable]]']) && (!('[[Writable]]' in Desc) || Desc['[[Writable]]']) && '[[Value]]' in Desc;\n      if (creatingNormalDataProperty || settingExistingDataProperty) {\n        O[P] = Desc['[[Value]]']; // eslint-disable-line no-param-reassign\n        return SameValue(O[P], Desc['[[Value]]']);\n      }\n      throw new $SyntaxError('This environment does not support defining non-writable, non-enumerable, or non-configurable properties');\n    }\n    var desc = $gOPD(O, P);\n    var current = desc && ToPropertyDescriptor(desc);\n    var extensible = IsExtensible(O);\n    return ValidateAndApplyPropertyDescriptor(O, P, extensible, Desc, current);\n  };\n  return OrdinaryDefineOwnProperty;\n}\n\nvar CreateDataProperty$1;\nvar hasRequiredCreateDataProperty;\nfunction requireCreateDataProperty() {\n  if (hasRequiredCreateDataProperty) return CreateDataProperty$1;\n  hasRequiredCreateDataProperty = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $TypeError = GetIntrinsic('%TypeError%');\n  var IsPropertyKey = requireIsPropertyKey();\n  var OrdinaryDefineOwnProperty = requireOrdinaryDefineOwnProperty();\n  var Type = Type$8;\n\n  // https://262.ecma-international.org/6.0/#sec-createdataproperty\n\n  CreateDataProperty$1 = function CreateDataProperty(O, P, V) {\n    if (Type(O) !== 'Object') {\n      throw new $TypeError('Assertion failed: Type(O) is not Object');\n    }\n    if (!IsPropertyKey(P)) {\n      throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true');\n    }\n    var newDesc = {\n      '[[Configurable]]': true,\n      '[[Enumerable]]': true,\n      '[[Value]]': V,\n      '[[Writable]]': true\n    };\n    return OrdinaryDefineOwnProperty(O, P, newDesc);\n  };\n  return CreateDataProperty$1;\n}\n\nvar GetIntrinsic$5 = getIntrinsic;\nvar $TypeError$3 = GetIntrinsic$5('%TypeError%');\nvar CreateDataProperty = requireCreateDataProperty();\nvar IsPropertyKey$2 = requireIsPropertyKey();\nvar Type$3 = Type$8;\n\n// // https://262.ecma-international.org/6.0/#sec-createdatapropertyorthrow\n\nvar CreateDataPropertyOrThrow$1 = function CreateDataPropertyOrThrow(O, P, V) {\n  if (Type$3(O) !== 'Object') {\n    throw new $TypeError$3('Assertion failed: Type(O) is not Object');\n  }\n  if (!IsPropertyKey$2(P)) {\n    throw new $TypeError$3('Assertion failed: IsPropertyKey(P) is not true');\n  }\n  var success = CreateDataProperty(O, P, V);\n  if (!success) {\n    throw new $TypeError$3('unable to create data property');\n  }\n  return success;\n};\n\nvar GetIntrinsic$4 = getIntrinsic;\nvar $TypeError$2 = GetIntrinsic$4('%TypeError%');\nvar DefineOwnProperty = requireDefineOwnProperty();\nvar FromPropertyDescriptor = requireFromPropertyDescriptor();\nvar IsDataDescriptor = requireIsDataDescriptor();\nvar IsPropertyKey$1 = requireIsPropertyKey();\nvar SameValue = requireSameValue();\nvar Type$2 = Type$8;\n\n// https://262.ecma-international.org/6.0/#sec-createmethodproperty\n\nvar CreateMethodProperty$1 = function CreateMethodProperty(O, P, V) {\n  if (Type$2(O) !== 'Object') {\n    throw new $TypeError$2('Assertion failed: Type(O) is not Object');\n  }\n  if (!IsPropertyKey$1(P)) {\n    throw new $TypeError$2('Assertion failed: IsPropertyKey(P) is not true');\n  }\n  var newDesc = {\n    '[[Configurable]]': true,\n    '[[Enumerable]]': false,\n    '[[Value]]': V,\n    '[[Writable]]': true\n  };\n  return DefineOwnProperty(IsDataDescriptor, SameValue, FromPropertyDescriptor, O, P, newDesc);\n};\n\nvar CheckObjectCoercible;\nvar hasRequiredCheckObjectCoercible;\nfunction requireCheckObjectCoercible() {\n  if (hasRequiredCheckObjectCoercible) return CheckObjectCoercible;\n  hasRequiredCheckObjectCoercible = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $TypeError = GetIntrinsic('%TypeError%');\n\n  // http://262.ecma-international.org/5.1/#sec-9.10\n\n  CheckObjectCoercible = function CheckObjectCoercible(value, optMessage) {\n    if (value == null) {\n      throw new $TypeError(optMessage || 'Cannot call method on ' + value);\n    }\n    return value;\n  };\n  return CheckObjectCoercible;\n}\n\nvar RequireObjectCoercible;\nvar hasRequiredRequireObjectCoercible;\nfunction requireRequireObjectCoercible() {\n  if (hasRequiredRequireObjectCoercible) return RequireObjectCoercible;\n  hasRequiredRequireObjectCoercible = 1;\n  RequireObjectCoercible = requireCheckObjectCoercible();\n  return RequireObjectCoercible;\n}\n\nvar ToObject;\nvar hasRequiredToObject;\nfunction requireToObject() {\n  if (hasRequiredToObject) return ToObject;\n  hasRequiredToObject = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $Object = GetIntrinsic('%Object%');\n  var RequireObjectCoercible = requireRequireObjectCoercible();\n\n  // https://262.ecma-international.org/6.0/#sec-toobject\n\n  ToObject = function ToObject(value) {\n    RequireObjectCoercible(value);\n    return $Object(value);\n  };\n  return ToObject;\n}\n\nvar GetV$1;\nvar hasRequiredGetV;\nfunction requireGetV() {\n  if (hasRequiredGetV) return GetV$1;\n  hasRequiredGetV = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $TypeError = GetIntrinsic('%TypeError%');\n  var IsPropertyKey = requireIsPropertyKey();\n  var ToObject = requireToObject();\n\n  // https://262.ecma-international.org/6.0/#sec-getv\n\n  GetV$1 = function GetV(V, P) {\n    // 7.3.2.1\n    if (!IsPropertyKey(P)) {\n      throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true');\n    }\n\n    // 7.3.2.2-3\n    var O = ToObject(V);\n\n    // 7.3.2.4\n    return O[P];\n  };\n  return GetV$1;\n}\n\nvar util_inspect;\nvar hasRequiredUtil_inspect;\nfunction requireUtil_inspect() {\n  if (hasRequiredUtil_inspect) return util_inspect;\n  hasRequiredUtil_inspect = 1;\n  util_inspect = require$$0.inspect;\n  return util_inspect;\n}\n\nvar objectInspect;\nvar hasRequiredObjectInspect;\nfunction requireObjectInspect() {\n  if (hasRequiredObjectInspect) return objectInspect;\n  hasRequiredObjectInspect = 1;\n  var hasMap = typeof Map === 'function' && Map.prototype;\n  var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;\n  var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null;\n  var mapForEach = hasMap && Map.prototype.forEach;\n  var hasSet = typeof Set === 'function' && Set.prototype;\n  var setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null;\n  var setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null;\n  var setForEach = hasSet && Set.prototype.forEach;\n  var hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype;\n  var weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;\n  var hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype;\n  var weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;\n  var hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype;\n  var weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;\n  var booleanValueOf = Boolean.prototype.valueOf;\n  var objectToString = Object.prototype.toString;\n  var functionToString = Function.prototype.toString;\n  var $match = String.prototype.match;\n  var $slice = String.prototype.slice;\n  var $replace = String.prototype.replace;\n  var $toUpperCase = String.prototype.toUpperCase;\n  var $toLowerCase = String.prototype.toLowerCase;\n  var $test = RegExp.prototype.test;\n  var $concat = Array.prototype.concat;\n  var $join = Array.prototype.join;\n  var $arrSlice = Array.prototype.slice;\n  var $floor = Math.floor;\n  var bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null;\n  var gOPS = Object.getOwnPropertySymbols;\n  var symToString = typeof Symbol === 'function' && _typeof(Symbol.iterator) === 'symbol' ? Symbol.prototype.toString : null;\n  var hasShammedSymbols = typeof Symbol === 'function' && _typeof(Symbol.iterator) === 'object';\n  // ie, `has-tostringtag/shams\n  var toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (_typeof(Symbol.toStringTag) === hasShammedSymbols ? 'object' : 'symbol') ? Symbol.toStringTag : null;\n  var isEnumerable = Object.prototype.propertyIsEnumerable;\n  var gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype // eslint-disable-line no-proto\n  ? function (O) {\n    return O.__proto__; // eslint-disable-line no-proto\n  } : null);\n  function addNumericSeparator(num, str) {\n    if (num === Infinity || num === -Infinity || num !== num || num && num > -1000 && num < 1000 || $test.call(/e/, str)) {\n      return str;\n    }\n    var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;\n    if (typeof num === 'number') {\n      var _int = num < 0 ? -$floor(-num) : $floor(num); // trunc(num)\n      if (_int !== num) {\n        var intStr = String(_int);\n        var dec = $slice.call(str, intStr.length + 1);\n        return $replace.call(intStr, sepRegex, '$&_') + '.' + $replace.call($replace.call(dec, /([0-9]{3})/g, '$&_'), /_$/, '');\n      }\n    }\n    return $replace.call(str, sepRegex, '$&_');\n  }\n  var utilInspect = requireUtil_inspect();\n  var inspectCustom = utilInspect.custom;\n  var inspectSymbol = isSymbol(inspectCustom) ? inspectCustom : null;\n  objectInspect = function inspect_(obj, options, depth, seen) {\n    var opts = options || {};\n    if (has(opts, 'quoteStyle') && opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double') {\n      throw new TypeError('option \"quoteStyle\" must be \"single\" or \"double\"');\n    }\n    if (has(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number' ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity : opts.maxStringLength !== null)) {\n      throw new TypeError('option \"maxStringLength\", if provided, must be a positive integer, Infinity, or `null`');\n    }\n    var customInspect = has(opts, 'customInspect') ? opts.customInspect : true;\n    if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') {\n      throw new TypeError('option \"customInspect\", if provided, must be `true`, `false`, or `\\'symbol\\'`');\n    }\n    if (has(opts, 'indent') && opts.indent !== null && opts.indent !== '\\t' && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)) {\n      throw new TypeError('option \"indent\" must be \"\\\\t\", an integer > 0, or `null`');\n    }\n    if (has(opts, 'numericSeparator') && typeof opts.numericSeparator !== 'boolean') {\n      throw new TypeError('option \"numericSeparator\", if provided, must be `true` or `false`');\n    }\n    var numericSeparator = opts.numericSeparator;\n    if (typeof obj === 'undefined') {\n      return 'undefined';\n    }\n    if (obj === null) {\n      return 'null';\n    }\n    if (typeof obj === 'boolean') {\n      return obj ? 'true' : 'false';\n    }\n    if (typeof obj === 'string') {\n      return inspectString(obj, opts);\n    }\n    if (typeof obj === 'number') {\n      if (obj === 0) {\n        return Infinity / obj > 0 ? '0' : '-0';\n      }\n      var str = String(obj);\n      return numericSeparator ? addNumericSeparator(obj, str) : str;\n    }\n    if (typeof obj === 'bigint') {\n      var bigIntStr = String(obj) + 'n';\n      return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr;\n    }\n    var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth;\n    if (typeof depth === 'undefined') {\n      depth = 0;\n    }\n    if (depth >= maxDepth && maxDepth > 0 && _typeof(obj) === 'object') {\n      return isArray(obj) ? '[Array]' : '[Object]';\n    }\n    var indent = getIndent(opts, depth);\n    if (typeof seen === 'undefined') {\n      seen = [];\n    } else if (indexOf(seen, obj) >= 0) {\n      return '[Circular]';\n    }\n    function inspect(value, from, noIndent) {\n      if (from) {\n        seen = $arrSlice.call(seen);\n        seen.push(from);\n      }\n      if (noIndent) {\n        var newOpts = {\n          depth: opts.depth\n        };\n        if (has(opts, 'quoteStyle')) {\n          newOpts.quoteStyle = opts.quoteStyle;\n        }\n        return inspect_(value, newOpts, depth + 1, seen);\n      }\n      return inspect_(value, opts, depth + 1, seen);\n    }\n    if (typeof obj === 'function' && !isRegExp(obj)) {\n      // in older engines, regexes are callable\n      var name = nameOf(obj);\n      var keys = arrObjKeys(obj, inspect);\n      return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + $join.call(keys, ', ') + ' }' : '');\n    }\n    if (isSymbol(obj)) {\n      var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\\(.*\\))_[^)]*$/, '$1') : symToString.call(obj);\n      return _typeof(obj) === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString;\n    }\n    if (isElement(obj)) {\n      var s = '<' + $toLowerCase.call(String(obj.nodeName));\n      var attrs = obj.attributes || [];\n      for (var i = 0; i < attrs.length; i++) {\n        s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts);\n      }\n      s += '>';\n      if (obj.childNodes && obj.childNodes.length) {\n        s += '...';\n      }\n      s += '</' + $toLowerCase.call(String(obj.nodeName)) + '>';\n      return s;\n    }\n    if (isArray(obj)) {\n      if (obj.length === 0) {\n        return '[]';\n      }\n      var xs = arrObjKeys(obj, inspect);\n      if (indent && !singleLineValues(xs)) {\n        return '[' + indentedJoin(xs, indent) + ']';\n      }\n      return '[ ' + $join.call(xs, ', ') + ' ]';\n    }\n    if (isError(obj)) {\n      var parts = arrObjKeys(obj, inspect);\n      if (!('cause' in Error.prototype) && 'cause' in obj && !isEnumerable.call(obj, 'cause')) {\n        return '{ [' + String(obj) + '] ' + $join.call($concat.call('[cause]: ' + inspect(obj.cause), parts), ', ') + ' }';\n      }\n      if (parts.length === 0) {\n        return '[' + String(obj) + ']';\n      }\n      return '{ [' + String(obj) + '] ' + $join.call(parts, ', ') + ' }';\n    }\n    if (_typeof(obj) === 'object' && customInspect) {\n      if (inspectSymbol && typeof obj[inspectSymbol] === 'function' && utilInspect) {\n        return utilInspect(obj, {\n          depth: maxDepth - depth\n        });\n      } else if (customInspect !== 'symbol' && typeof obj.inspect === 'function') {\n        return obj.inspect();\n      }\n    }\n    if (isMap(obj)) {\n      var mapParts = [];\n      if (mapForEach) {\n        mapForEach.call(obj, function (value, key) {\n          mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj));\n        });\n      }\n      return collectionOf('Map', mapSize.call(obj), mapParts, indent);\n    }\n    if (isSet(obj)) {\n      var setParts = [];\n      if (setForEach) {\n        setForEach.call(obj, function (value) {\n          setParts.push(inspect(value, obj));\n        });\n      }\n      return collectionOf('Set', setSize.call(obj), setParts, indent);\n    }\n    if (isWeakMap(obj)) {\n      return weakCollectionOf('WeakMap');\n    }\n    if (isWeakSet(obj)) {\n      return weakCollectionOf('WeakSet');\n    }\n    if (isWeakRef(obj)) {\n      return weakCollectionOf('WeakRef');\n    }\n    if (isNumber(obj)) {\n      return markBoxed(inspect(Number(obj)));\n    }\n    if (isBigInt(obj)) {\n      return markBoxed(inspect(bigIntValueOf.call(obj)));\n    }\n    if (isBoolean(obj)) {\n      return markBoxed(booleanValueOf.call(obj));\n    }\n    if (isString(obj)) {\n      return markBoxed(inspect(String(obj)));\n    }\n    if (!isDate(obj) && !isRegExp(obj)) {\n      var ys = arrObjKeys(obj, inspect);\n      var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;\n      var protoTag = obj instanceof Object ? '' : 'null prototype';\n      var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? 'Object' : '';\n      var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : '';\n      var tag = constructorTag + (stringTag || protoTag ? '[' + $join.call($concat.call([], stringTag || [], protoTag || []), ': ') + '] ' : '');\n      if (ys.length === 0) {\n        return tag + '{}';\n      }\n      if (indent) {\n        return tag + '{' + indentedJoin(ys, indent) + '}';\n      }\n      return tag + '{ ' + $join.call(ys, ', ') + ' }';\n    }\n    return String(obj);\n  };\n  function wrapQuotes(s, defaultStyle, opts) {\n    var quoteChar = (opts.quoteStyle || defaultStyle) === 'double' ? '\"' : \"'\";\n    return quoteChar + s + quoteChar;\n  }\n  function quote(s) {\n    return $replace.call(String(s), /\"/g, '&quot;');\n  }\n  function isArray(obj) {\n    return toStr(obj) === '[object Array]' && (!toStringTag || !(_typeof(obj) === 'object' && toStringTag in obj));\n  }\n  function isDate(obj) {\n    return toStr(obj) === '[object Date]' && (!toStringTag || !(_typeof(obj) === 'object' && toStringTag in obj));\n  }\n  function isRegExp(obj) {\n    return toStr(obj) === '[object RegExp]' && (!toStringTag || !(_typeof(obj) === 'object' && toStringTag in obj));\n  }\n  function isError(obj) {\n    return toStr(obj) === '[object Error]' && (!toStringTag || !(_typeof(obj) === 'object' && toStringTag in obj));\n  }\n  function isString(obj) {\n    return toStr(obj) === '[object String]' && (!toStringTag || !(_typeof(obj) === 'object' && toStringTag in obj));\n  }\n  function isNumber(obj) {\n    return toStr(obj) === '[object Number]' && (!toStringTag || !(_typeof(obj) === 'object' && toStringTag in obj));\n  }\n  function isBoolean(obj) {\n    return toStr(obj) === '[object Boolean]' && (!toStringTag || !(_typeof(obj) === 'object' && toStringTag in obj));\n  }\n\n  // Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives\n  function isSymbol(obj) {\n    if (hasShammedSymbols) {\n      return obj && _typeof(obj) === 'object' && obj instanceof Symbol;\n    }\n    if (_typeof(obj) === 'symbol') {\n      return true;\n    }\n    if (!obj || _typeof(obj) !== 'object' || !symToString) {\n      return false;\n    }\n    try {\n      symToString.call(obj);\n      return true;\n    } catch (e) {}\n    return false;\n  }\n  function isBigInt(obj) {\n    if (!obj || _typeof(obj) !== 'object' || !bigIntValueOf) {\n      return false;\n    }\n    try {\n      bigIntValueOf.call(obj);\n      return true;\n    } catch (e) {}\n    return false;\n  }\n  var hasOwn = Object.prototype.hasOwnProperty || function (key) {\n    return key in this;\n  };\n  function has(obj, key) {\n    return hasOwn.call(obj, key);\n  }\n  function toStr(obj) {\n    return objectToString.call(obj);\n  }\n  function nameOf(f) {\n    if (f.name) {\n      return f.name;\n    }\n    var m = $match.call(functionToString.call(f), /^function\\s*([\\w$]+)/);\n    if (m) {\n      return m[1];\n    }\n    return null;\n  }\n  function indexOf(xs, x) {\n    if (xs.indexOf) {\n      return xs.indexOf(x);\n    }\n    for (var i = 0, l = xs.length; i < l; i++) {\n      if (xs[i] === x) {\n        return i;\n      }\n    }\n    return -1;\n  }\n  function isMap(x) {\n    if (!mapSize || !x || _typeof(x) !== 'object') {\n      return false;\n    }\n    try {\n      mapSize.call(x);\n      try {\n        setSize.call(x);\n      } catch (s) {\n        return true;\n      }\n      return x instanceof Map; // core-js workaround, pre-v2.5.0\n    } catch (e) {}\n    return false;\n  }\n  function isWeakMap(x) {\n    if (!weakMapHas || !x || _typeof(x) !== 'object') {\n      return false;\n    }\n    try {\n      weakMapHas.call(x, weakMapHas);\n      try {\n        weakSetHas.call(x, weakSetHas);\n      } catch (s) {\n        return true;\n      }\n      return x instanceof WeakMap; // core-js workaround, pre-v2.5.0\n    } catch (e) {}\n    return false;\n  }\n  function isWeakRef(x) {\n    if (!weakRefDeref || !x || _typeof(x) !== 'object') {\n      return false;\n    }\n    try {\n      weakRefDeref.call(x);\n      return true;\n    } catch (e) {}\n    return false;\n  }\n  function isSet(x) {\n    if (!setSize || !x || _typeof(x) !== 'object') {\n      return false;\n    }\n    try {\n      setSize.call(x);\n      try {\n        mapSize.call(x);\n      } catch (m) {\n        return true;\n      }\n      return x instanceof Set; // core-js workaround, pre-v2.5.0\n    } catch (e) {}\n    return false;\n  }\n  function isWeakSet(x) {\n    if (!weakSetHas || !x || _typeof(x) !== 'object') {\n      return false;\n    }\n    try {\n      weakSetHas.call(x, weakSetHas);\n      try {\n        weakMapHas.call(x, weakMapHas);\n      } catch (s) {\n        return true;\n      }\n      return x instanceof WeakSet; // core-js workaround, pre-v2.5.0\n    } catch (e) {}\n    return false;\n  }\n  function isElement(x) {\n    if (!x || _typeof(x) !== 'object') {\n      return false;\n    }\n    if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) {\n      return true;\n    }\n    return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function';\n  }\n  function inspectString(str, opts) {\n    if (str.length > opts.maxStringLength) {\n      var remaining = str.length - opts.maxStringLength;\n      var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : '');\n      return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer;\n    }\n    // eslint-disable-next-line no-control-regex\n    var s = $replace.call($replace.call(str, /(['\\\\])/g, '\\\\$1'), /[\\x00-\\x1f]/g, lowbyte);\n    return wrapQuotes(s, 'single', opts);\n  }\n  function lowbyte(c) {\n    var n = c.charCodeAt(0);\n    var x = {\n      8: 'b',\n      9: 't',\n      10: 'n',\n      12: 'f',\n      13: 'r'\n    }[n];\n    if (x) {\n      return '\\\\' + x;\n    }\n    return '\\\\x' + (n < 0x10 ? '0' : '') + $toUpperCase.call(n.toString(16));\n  }\n  function markBoxed(str) {\n    return 'Object(' + str + ')';\n  }\n  function weakCollectionOf(type) {\n    return type + ' { ? }';\n  }\n  function collectionOf(type, size, entries, indent) {\n    var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ', ');\n    return type + ' (' + size + ') {' + joinedEntries + '}';\n  }\n  function singleLineValues(xs) {\n    for (var i = 0; i < xs.length; i++) {\n      if (indexOf(xs[i], '\\n') >= 0) {\n        return false;\n      }\n    }\n    return true;\n  }\n  function getIndent(opts, depth) {\n    var baseIndent;\n    if (opts.indent === '\\t') {\n      baseIndent = '\\t';\n    } else if (typeof opts.indent === 'number' && opts.indent > 0) {\n      baseIndent = $join.call(Array(opts.indent + 1), ' ');\n    } else {\n      return null;\n    }\n    return {\n      base: baseIndent,\n      prev: $join.call(Array(depth + 1), baseIndent)\n    };\n  }\n  function indentedJoin(xs, indent) {\n    if (xs.length === 0) {\n      return '';\n    }\n    var lineJoiner = '\\n' + indent.prev + indent.base;\n    return lineJoiner + $join.call(xs, ',' + lineJoiner) + '\\n' + indent.prev;\n  }\n  function arrObjKeys(obj, inspect) {\n    var isArr = isArray(obj);\n    var xs = [];\n    if (isArr) {\n      xs.length = obj.length;\n      for (var i = 0; i < obj.length; i++) {\n        xs[i] = has(obj, i) ? inspect(obj[i], obj) : '';\n      }\n    }\n    var syms = typeof gOPS === 'function' ? gOPS(obj) : [];\n    var symMap;\n    if (hasShammedSymbols) {\n      symMap = {};\n      for (var k = 0; k < syms.length; k++) {\n        symMap['$' + syms[k]] = syms[k];\n      }\n    }\n    for (var key in obj) {\n      // eslint-disable-line no-restricted-syntax\n      if (!has(obj, key)) {\n        continue;\n      } // eslint-disable-line no-restricted-syntax, no-continue\n      if (isArr && String(Number(key)) === key && key < obj.length) {\n        continue;\n      } // eslint-disable-line no-restricted-syntax, no-continue\n      if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) {\n        // this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section\n        continue; // eslint-disable-line no-restricted-syntax, no-continue\n      } else if ($test.call(/[^\\w$]/, key)) {\n        xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj));\n      } else {\n        xs.push(key + ': ' + inspect(obj[key], obj));\n      }\n    }\n    if (typeof gOPS === 'function') {\n      for (var j = 0; j < syms.length; j++) {\n        if (isEnumerable.call(obj, syms[j])) {\n          xs.push('[' + inspect(syms[j]) + ']: ' + inspect(obj[syms[j]], obj));\n        }\n      }\n    }\n    return xs;\n  }\n  return objectInspect;\n}\n\nvar GetIntrinsic$3 = getIntrinsic;\nvar $TypeError$1 = GetIntrinsic$3('%TypeError%');\nvar GetV = requireGetV();\nvar IsCallable = requireIsCallable();\nvar IsPropertyKey = requireIsPropertyKey();\nvar inspect = requireObjectInspect();\n\n// https://262.ecma-international.org/6.0/#sec-getmethod\n\nvar GetMethod$1 = function GetMethod(O, P) {\n  // 7.3.9.1\n  if (!IsPropertyKey(P)) {\n    throw new $TypeError$1('Assertion failed: IsPropertyKey(P) is not true');\n  }\n\n  // 7.3.9.2\n  var func = GetV(O, P);\n\n  // 7.3.9.4\n  if (func == null) {\n    return void 0;\n  }\n\n  // 7.3.9.5\n  if (!IsCallable(func)) {\n    throw new $TypeError$1(inspect(P) + ' is not a function: ' + inspect(func));\n  }\n\n  // 7.3.9.6\n  return func;\n};\n\n// https://262.ecma-international.org/6.0/#sec-isarray\nvar IsArray$1 = IsArray$2;\n\nvar hasSymbols$1 = shams$1;\nvar shams = function hasToStringTagShams() {\n  return hasSymbols$1() && !!Symbol.toStringTag;\n};\n\nvar strValue = String.prototype.valueOf;\nvar tryStringObject = function tryStringObject(value) {\n  try {\n    strValue.call(value);\n    return true;\n  } catch (e) {\n    return false;\n  }\n};\nvar toStr = Object.prototype.toString;\nvar strClass = '[object String]';\nvar hasToStringTag = shams();\nvar isString$1 = function isString(value) {\n  if (typeof value === 'string') {\n    return true;\n  }\n  if (_typeof(value) !== 'object') {\n    return false;\n  }\n  return hasToStringTag ? tryStringObject(value) : toStr.call(value) === strClass;\n};\n\nvar hasSymbols = hasSymbols$4();\nvar GetIntrinsic$2 = getIntrinsic;\nvar callBound$1 = callBound$3;\nvar isString = isString$1;\nvar $iterator = GetIntrinsic$2('%Symbol.iterator%', true);\nvar $stringSlice = callBound$1('String.prototype.slice');\nvar $String = GetIntrinsic$2('%String%');\nvar getIteratorMethod$1 = function getIteratorMethod(ES, iterable) {\n  var usingIterator;\n  if (hasSymbols) {\n    usingIterator = ES.GetMethod(iterable, $iterator);\n  } else if (ES.IsArray(iterable)) {\n    usingIterator = function usingIterator() {\n      var i = -1;\n      var arr = this; // eslint-disable-line no-invalid-this\n      return {\n        next: function next() {\n          i += 1;\n          return {\n            done: i >= arr.length,\n            value: arr[i]\n          };\n        }\n      };\n    };\n  } else if (isString(iterable)) {\n    usingIterator = function usingIterator() {\n      var i = 0;\n      return {\n        next: function next() {\n          var nextIndex = ES.AdvanceStringIndex($String(iterable), i, true);\n          var value = $stringSlice(iterable, i, nextIndex);\n          i = nextIndex;\n          return {\n            done: nextIndex > iterable.length,\n            value: value\n          };\n        }\n      };\n    };\n  }\n  return usingIterator;\n};\n\nvar Call;\nvar hasRequiredCall;\nfunction requireCall() {\n  if (hasRequiredCall) return Call;\n  hasRequiredCall = 1;\n  var GetIntrinsic = getIntrinsic;\n  var callBound = callBound$3;\n  var $TypeError = GetIntrinsic('%TypeError%');\n  var IsArray = IsArray$1;\n  var $apply = GetIntrinsic('%Reflect.apply%', true) || callBound('Function.prototype.apply');\n\n  // https://262.ecma-international.org/6.0/#sec-call\n\n  Call = function Call(F, V) {\n    var argumentsList = arguments.length > 2 ? arguments[2] : [];\n    if (!IsArray(argumentsList)) {\n      throw new $TypeError('Assertion failed: optional `argumentsList`, if provided, must be a List');\n    }\n    return $apply(F, V, argumentsList);\n  };\n  return Call;\n}\n\nvar GetIterator$1;\nvar hasRequiredGetIterator;\nfunction requireGetIterator() {\n  if (hasRequiredGetIterator) return GetIterator$1;\n  hasRequiredGetIterator = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $TypeError = GetIntrinsic('%TypeError%');\n  var $SyntaxError = GetIntrinsic('%SyntaxError%');\n  var $asyncIterator = GetIntrinsic('%Symbol.asyncIterator%', true);\n  var inspect = requireObjectInspect();\n  var hasSymbols = hasSymbols$4();\n  var getIteratorMethod = getIteratorMethod$1;\n  var AdvanceStringIndex = AdvanceStringIndex$1;\n  var Call = requireCall();\n  var GetMethod = GetMethod$1;\n  var IsArray = IsArray$1;\n  var Type = Type$8;\n\n  // https://262.ecma-international.org/11.0/#sec-getiterator\n\n  GetIterator$1 = function GetIterator(obj, hint, method) {\n    var actualHint = hint;\n    if (arguments.length < 2) {\n      actualHint = 'sync';\n    }\n    if (actualHint !== 'sync' && actualHint !== 'async') {\n      throw new $TypeError(\"Assertion failed: `hint` must be one of 'sync' or 'async', got \" + inspect(hint));\n    }\n    var actualMethod = method;\n    if (arguments.length < 3) {\n      if (actualHint === 'async') {\n        if (hasSymbols && $asyncIterator) {\n          actualMethod = GetMethod(obj, $asyncIterator);\n        }\n        if (actualMethod === undefined) {\n          throw new $SyntaxError(\"async from sync iterators aren't currently supported\");\n        }\n      } else {\n        actualMethod = getIteratorMethod({\n          AdvanceStringIndex: AdvanceStringIndex,\n          GetMethod: GetMethod,\n          IsArray: IsArray\n        }, obj);\n      }\n    }\n    var iterator = Call(actualMethod, obj);\n    if (Type(iterator) !== 'Object') {\n      throw new $TypeError('iterator must return an object');\n    }\n    return iterator;\n\n    // TODO: This should return an IteratorRecord\n    /*\n    var nextMethod = GetV(iterator, 'next');\n    return {\n    \t'[[Iterator]]': iterator,\n    \t'[[NextMethod]]': nextMethod,\n    \t'[[Done]]': false\n    };\n    */\n  };\n\n  return GetIterator$1;\n}\n\nvar Get;\nvar hasRequiredGet;\nfunction requireGet() {\n  if (hasRequiredGet) return Get;\n  hasRequiredGet = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $TypeError = GetIntrinsic('%TypeError%');\n  var inspect = requireObjectInspect();\n  var IsPropertyKey = requireIsPropertyKey();\n  var Type = Type$8;\n\n  // https://262.ecma-international.org/6.0/#sec-get-o-p\n\n  Get = function Get(O, P) {\n    // 7.3.1.1\n    if (Type(O) !== 'Object') {\n      throw new $TypeError('Assertion failed: Type(O) is not Object');\n    }\n    // 7.3.1.2\n    if (!IsPropertyKey(P)) {\n      throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true, got ' + inspect(P));\n    }\n    // 7.3.1.3\n    return O[P];\n  };\n  return Get;\n}\n\nvar IteratorComplete;\nvar hasRequiredIteratorComplete;\nfunction requireIteratorComplete() {\n  if (hasRequiredIteratorComplete) return IteratorComplete;\n  hasRequiredIteratorComplete = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $TypeError = GetIntrinsic('%TypeError%');\n  var Get = requireGet();\n  var ToBoolean = requireToBoolean();\n  var Type = Type$8;\n\n  // https://262.ecma-international.org/6.0/#sec-iteratorcomplete\n\n  IteratorComplete = function IteratorComplete(iterResult) {\n    if (Type(iterResult) !== 'Object') {\n      throw new $TypeError('Assertion failed: Type(iterResult) is not Object');\n    }\n    return ToBoolean(Get(iterResult, 'done'));\n  };\n  return IteratorComplete;\n}\n\nvar Invoke;\nvar hasRequiredInvoke;\nfunction requireInvoke() {\n  if (hasRequiredInvoke) return Invoke;\n  hasRequiredInvoke = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $TypeError = GetIntrinsic('%TypeError%');\n  var Call = requireCall();\n  var IsArray = IsArray$1;\n  var GetV = requireGetV();\n  var IsPropertyKey = requireIsPropertyKey();\n\n  // https://262.ecma-international.org/6.0/#sec-invoke\n\n  Invoke = function Invoke(O, P) {\n    if (!IsPropertyKey(P)) {\n      throw new $TypeError('Assertion failed: P must be a Property Key');\n    }\n    var argumentsList = arguments.length > 2 ? arguments[2] : [];\n    if (!IsArray(argumentsList)) {\n      throw new $TypeError('Assertion failed: optional `argumentsList`, if provided, must be a List');\n    }\n    var func = GetV(O, P);\n    return Call(func, O, argumentsList);\n  };\n  return Invoke;\n}\n\nvar IteratorNext;\nvar hasRequiredIteratorNext;\nfunction requireIteratorNext() {\n  if (hasRequiredIteratorNext) return IteratorNext;\n  hasRequiredIteratorNext = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $TypeError = GetIntrinsic('%TypeError%');\n  var Invoke = requireInvoke();\n  var Type = Type$8;\n\n  // https://262.ecma-international.org/6.0/#sec-iteratornext\n\n  IteratorNext = function IteratorNext(iterator, value) {\n    var result = Invoke(iterator, 'next', arguments.length < 2 ? [] : [value]);\n    if (Type(result) !== 'Object') {\n      throw new $TypeError('iterator next must return an object');\n    }\n    return result;\n  };\n  return IteratorNext;\n}\n\nvar IteratorStep$1;\nvar hasRequiredIteratorStep;\nfunction requireIteratorStep() {\n  if (hasRequiredIteratorStep) return IteratorStep$1;\n  hasRequiredIteratorStep = 1;\n  var IteratorComplete = requireIteratorComplete();\n  var IteratorNext = requireIteratorNext();\n\n  // https://262.ecma-international.org/6.0/#sec-iteratorstep\n\n  IteratorStep$1 = function IteratorStep(iterator) {\n    var result = IteratorNext(iterator);\n    var done = IteratorComplete(result);\n    return done === true ? false : result;\n  };\n  return IteratorStep$1;\n}\n\nvar IteratorValue$1;\nvar hasRequiredIteratorValue;\nfunction requireIteratorValue() {\n  if (hasRequiredIteratorValue) return IteratorValue$1;\n  hasRequiredIteratorValue = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $TypeError = GetIntrinsic('%TypeError%');\n  var Get = requireGet();\n  var Type = Type$8;\n\n  // https://262.ecma-international.org/6.0/#sec-iteratorvalue\n\n  IteratorValue$1 = function IteratorValue(iterResult) {\n    if (Type(iterResult) !== 'Object') {\n      throw new $TypeError('Assertion failed: Type(iterResult) is not Object');\n    }\n    return Get(iterResult, 'value');\n  };\n  return IteratorValue$1;\n}\n\nvar callBound = callBound$3;\nvar $arrayPush = callBound('Array.prototype.push');\nvar GetIterator = requireGetIterator();\nvar IteratorStep = requireIteratorStep();\nvar IteratorValue = requireIteratorValue();\n\n// https://262.ecma-international.org/12.0/#sec-iterabletolist\n\nvar IterableToList$1 = function IterableToList(items) {\n  var iterator;\n  if (arguments.length > 1) {\n    iterator = GetIterator(items, 'sync', arguments[1]);\n  } else {\n    iterator = GetIterator(items, 'sync');\n  }\n  var values = [];\n  var next = true;\n  while (next) {\n    next = IteratorStep(iterator);\n    if (next) {\n      var nextValue = IteratorValue(next);\n      $arrayPush(values, nextValue);\n    }\n  }\n  return values;\n};\n\nvar setProto;\nvar hasRequiredSetProto;\nfunction requireSetProto() {\n  if (hasRequiredSetProto) return setProto;\n  hasRequiredSetProto = 1;\n  var GetIntrinsic = getIntrinsic;\n  var originalSetProto = GetIntrinsic('%Object.setPrototypeOf%', true);\n  var hasProto = hasProto$1();\n  setProto = originalSetProto || (hasProto ? function (O, proto) {\n    O.__proto__ = proto; // eslint-disable-line no-proto, no-param-reassign\n    return O;\n  } : null);\n  return setProto;\n}\n\nvar getProto;\nvar hasRequiredGetProto;\nfunction requireGetProto() {\n  if (hasRequiredGetProto) return getProto;\n  hasRequiredGetProto = 1;\n  var GetIntrinsic = getIntrinsic;\n  var originalGetProto = GetIntrinsic('%Object.getPrototypeOf%', true);\n  var hasProto = hasProto$1();\n  getProto = originalGetProto || (hasProto ? function (O) {\n    return O.__proto__; // eslint-disable-line no-proto\n  } : null);\n  return getProto;\n}\n\nvar OrdinaryGetPrototypeOf$1;\nvar hasRequiredOrdinaryGetPrototypeOf;\nfunction requireOrdinaryGetPrototypeOf() {\n  if (hasRequiredOrdinaryGetPrototypeOf) return OrdinaryGetPrototypeOf$1;\n  hasRequiredOrdinaryGetPrototypeOf = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $TypeError = GetIntrinsic('%TypeError%');\n  var $getProto = requireGetProto();\n  var Type = Type$8;\n\n  // https://262.ecma-international.org/7.0/#sec-ordinarygetprototypeof\n\n  OrdinaryGetPrototypeOf$1 = function OrdinaryGetPrototypeOf(O) {\n    if (Type(O) !== 'Object') {\n      throw new $TypeError('Assertion failed: O must be an Object');\n    }\n    if (!$getProto) {\n      throw new $TypeError('This environment does not support fetching prototypes.');\n    }\n    return $getProto(O);\n  };\n  return OrdinaryGetPrototypeOf$1;\n}\n\nvar GetIntrinsic$1 = getIntrinsic;\nvar $TypeError = GetIntrinsic$1('%TypeError%');\nvar $setProto = requireSetProto();\nvar OrdinaryGetPrototypeOf = requireOrdinaryGetPrototypeOf();\nvar Type$1 = Type$8;\n\n// https://262.ecma-international.org/7.0/#sec-ordinarysetprototypeof\n\nvar OrdinarySetPrototypeOf$1 = function OrdinarySetPrototypeOf(O, V) {\n  if (Type$1(V) !== 'Object' && Type$1(V) !== 'Null') {\n    throw new $TypeError('Assertion failed: V must be Object or Null');\n  }\n  /*\n  var extensible = IsExtensible(O);\n  var current = OrdinaryGetPrototypeOf(O);\n  if (SameValue(V, current)) {\n  \treturn true;\n  }\n  if (!extensible) {\n  \treturn false;\n  }\n  */\n  try {\n    $setProto(O, V);\n  } catch (e) {\n    return false;\n  }\n  return OrdinaryGetPrototypeOf(O) === V;\n  /*\n  var p = V;\n  var done = false;\n  while (!done) {\n  \tif (p === null) {\n  \t\tdone = true;\n  \t} else if (SameValue(p, O)) {\n  \t\treturn false;\n  \t} else {\n  \t\tif (wat) {\n  \t\t\tdone = true;\n  \t\t} else {\n  \t\t\tp = p.[[Prototype]];\n  \t\t}\n  \t}\n  }\n  O.[[Prototype]] = V;\n  return true;\n  */\n};\n\nvar AdvanceStringIndex = AdvanceStringIndex$1;\nvar CreateDataPropertyOrThrow = CreateDataPropertyOrThrow$1;\nvar CreateMethodProperty = CreateMethodProperty$1;\nvar GetMethod = GetMethod$1;\nvar IsArray = IsArray$1;\nvar IterableToList = IterableToList$1;\nvar OrdinarySetPrototypeOf = OrdinarySetPrototypeOf$1;\nvar Type = Type$8;\nvar GetIntrinsic = getIntrinsic;\nvar getIteratorMethod = getIteratorMethod$1;\nvar hasPropertyDescriptors = hasPropertyDescriptors_1();\nvar $Error = GetIntrinsic('%Error%');\n\n// eslint-disable-next-line func-style\nfunction AggregateError$2(errors, message) {\n  var error = new $Error(message);\n  OrdinarySetPrototypeOf(error, proto); // eslint-disable-line no-use-before-define\n  delete error.constructor;\n  var errorsList = IterableToList(errors, getIteratorMethod({\n    AdvanceStringIndex: AdvanceStringIndex,\n    GetMethod: GetMethod,\n    IsArray: IsArray,\n    Type: Type\n  }, errors));\n  CreateDataPropertyOrThrow(error, 'errors', errorsList);\n  return error;\n}\nif (hasPropertyDescriptors) {\n  Object.defineProperty(AggregateError$2, 'prototype', {\n    writable: false\n  });\n}\nvar proto = AggregateError$2.prototype;\nif (!CreateMethodProperty(proto, 'constructor', AggregateError$2) || !CreateMethodProperty(proto, 'message', '') || !CreateMethodProperty(proto, 'name', 'AggregateError')) {\n  throw new $Error('unable to install AggregateError.prototype properties; please report this!');\n}\nOrdinarySetPrototypeOf(AggregateError$2.prototype, Error.prototype);\nvar implementation$5 = AggregateError$2;\n\nvar implementation$4 = implementation$5;\nvar polyfill$3 = function getPolyfill() {\n  return typeof AggregateError === 'function' ? AggregateError : implementation$4;\n};\n\nvar implementation$3 = commonjsGlobal;\n\nvar implementation$2 = implementation$3;\nvar polyfill$2 = function getPolyfill() {\n  if (_typeof(commonjsGlobal) !== 'object' || !commonjsGlobal || commonjsGlobal.Math !== Math || commonjsGlobal.Array !== Array) {\n    return implementation$2;\n  }\n  return commonjsGlobal;\n};\n\nvar define$2 = defineProperties_1;\nvar getPolyfill$3 = polyfill$2;\nvar shim$3 = function shimGlobal() {\n  var polyfill = getPolyfill$3();\n  if (define$2.supportsDescriptors) {\n    var descriptor = Object.getOwnPropertyDescriptor(polyfill, 'globalThis');\n    if (!descriptor || descriptor.configurable && (descriptor.enumerable || !descriptor.writable || globalThis !== polyfill)) {\n      // eslint-disable-line max-len\n      Object.defineProperty(polyfill, 'globalThis', {\n        configurable: true,\n        enumerable: false,\n        value: polyfill,\n        writable: true\n      });\n    }\n  } else if ((typeof globalThis === \"undefined\" ? \"undefined\" : _typeof(globalThis)) !== 'object' || globalThis !== polyfill) {\n    polyfill.globalThis = polyfill;\n  }\n  return polyfill;\n};\n\nvar defineProperties = defineProperties_1;\nvar implementation$1 = implementation$3;\nvar getPolyfill$2 = polyfill$2;\nvar shim$2 = shim$3;\nvar polyfill$1 = getPolyfill$2();\nvar getGlobal = function getGlobal() {\n  return polyfill$1;\n};\ndefineProperties(getGlobal, {\n  getPolyfill: getPolyfill$2,\n  implementation: implementation$1,\n  shim: shim$2\n});\nvar globalthis = getGlobal;\n\nvar define$1 = defineProperties_1;\nvar globalThis$1 = globalthis();\nvar getPolyfill$1 = polyfill$3;\nvar shim$1 = function shimAggregateError() {\n  var polyfill = getPolyfill$1();\n  define$1(globalThis$1, {\n    AggregateError: polyfill\n  }, {\n    AggregateError: function testAggregateError() {\n      return globalThis$1.AggregateError !== polyfill;\n    }\n  });\n  return polyfill;\n};\n\nvar bind = functionBind;\nvar define = defineProperties_1;\nvar functionsHaveConfigurableNames = functionsHaveNames_1.functionsHaveConfigurableNames();\nvar implementation = implementation$5;\nvar getPolyfill = polyfill$3;\nvar shim = shim$1;\nvar polyfill = getPolyfill();\nvar bound = bind.call(polyfill);\nif (Object.defineProperty) {\n  if (functionsHaveConfigurableNames) {\n    Object.defineProperty(bound, 'name', {\n      value: polyfill.name\n    });\n  }\n  Object.defineProperty(bound, 'prototype', {\n    value: polyfill.prototype\n  });\n}\ndefine(bound, {\n  getPolyfill: getPolyfill,\n  implementation: implementation,\n  shim: shim\n});\nvar esAggregateError = bound;\n\n/*\r\n * Copyright (c) 2021 Huawei Device Co., Ltd.\r\n * Licensed under the Apache License, Version 2.0 (the 'License');\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an 'AS IS' BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\nvar AggregateError$1 = esAggregateError;\nvar AggregateError_1 = AggregateError$1;\n\n/*\r\n * Copyright (c) 2021 Huawei Device Co., Ltd.\r\n * Licensed under the Apache License, Version 2.0 (the 'License');\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an 'AS IS' BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\nvar primordials = {\n  uncurryThis: function () {\n    var _Function$prototype = Function.prototype,\n      bind = _Function$prototype.bind,\n      call = _Function$prototype.call;\n    return bind.bind(call);\n  }(),\n  JSONParse: function JSONParse(self) {\n    return JSON.parse(self);\n  },\n  /**\r\n   * Math start\r\n   */\n  MathAbs: function MathAbs(self) {\n    return Math.abs(self);\n  },\n  //typeof Math.abs\n  MathAcos: function MathAcos(self) {\n    return Math.acos(self);\n  },\n  // typeof Math.acos\n  MathAcosh: function MathAcosh(self) {\n    return Math.acosh(self);\n  },\n  //typeof Math.acosh\n  MathAsin: function MathAsin(self) {\n    return Math.asin(self);\n  },\n  //typeof Math.asin\n  MathAsinh: function MathAsinh(self) {\n    return Math.asinh(self);\n  },\n  //typeof Math.asinh\n  MathAtan: function MathAtan(self) {\n    return Math.atan(self);\n  },\n  //typeof Math.atan\n  MathAtanh: function MathAtanh(self) {\n    return Math.atanh(self);\n  },\n  //typeof Math.atanh\n  MathAtan2: function MathAtan2(self) {\n    return Math.atan2(self);\n  },\n  //typeof Math.atan2\n  MathCeil: function MathCeil(self) {\n    return Math.ceil(self);\n  },\n  //typeof Math.ceil\n  MathCbrt: function MathCbrt(self) {\n    return Math.cbrt(self);\n  },\n  //typeof Math.cbrt\n  MathExpm1: function MathExpm1(self) {\n    return Math.expm1(self);\n  },\n  //typeof Math.expm1\n  MathClz32: function MathClz32(self) {\n    return Math.clz32(self);\n  },\n  //typeof Math.clz32\n  MathCos: function MathCos(self) {\n    return Math.cos(self);\n  },\n  //typeof Math.cos\n  MathCosh: function MathCosh(self) {\n    return Math.cosh(self);\n  },\n  //typeof Math.cosh\n  MathExp: function MathExp(self) {\n    return Math.exp(self);\n  },\n  //typeof Math.exp\n  MathFround: function MathFround(self) {\n    return Math.fround(self);\n  },\n  //typeof Math.fround\n  MathHypot: function MathHypot(self) {\n    return Math.hypot(self);\n  },\n  //typeof Math.hypot\n  MathImul: function MathImul(self) {\n    return Math.imul(self);\n  },\n  //typeof Math.imul\n  MathLog: function MathLog(self) {\n    return Math.log(self);\n  },\n  //typeof Math.log\n  MathLog1p: function MathLog1p(self) {\n    return Math.log(self);\n  },\n  //typeof Math.log1p\n  MathLog2: function MathLog2(self) {\n    return Math.log2(self);\n  },\n  //typeof Math.log2\n  MathLog10: function MathLog10(self) {\n    return Math.log10(self);\n  },\n  //typeof Math.log10\n  MathMax: function MathMax() {\n    return Math.max.apply(Math, arguments);\n  },\n  //typeof Math.max\n  MathMaxApply: function MathMaxApply(self) {\n    return Math.max.apply(null, self);\n  },\n  //StaticApply<typeof Math.max>\n  MathMin: function MathMin(self) {\n    return Math.min(self);\n  },\n  //typeof Math.min\n  MathPow: function MathPow(self) {\n    return Math.pow(self);\n  },\n  //typeof Math.pow\n  MathRandom: function MathRandom() {\n    return Math.random();\n  },\n  //typeof Math.random\n  MathRound: function MathRound(self) {\n    return Math.round(self);\n  },\n  //typeof Math.round\n  MathSign: function MathSign(self) {\n    return Math.sign(self);\n  },\n  //typeof Math.sign\n  MathSin: function MathSin(self) {\n    return Math.sin(self);\n  },\n  //typeof Math.sin\n  MathSinh: function MathSinh(self) {\n    return Math.sinh(self);\n  },\n  //typeof Math.sinh\n  MathSqrt: function MathSqrt(self) {\n    return Math.sqrt(self);\n  },\n  //typeof Math.sqrt\n  MathTan: function MathTan(self) {\n    return Math.tan(self);\n  },\n  //typeof Math.tan\n  MathTanh: function MathTanh(self) {\n    return Math.tanh(self);\n  },\n  //typeof Math.tanh\n  MathTrunc: function MathTrunc(self) {\n    return Math.trunc(self);\n  },\n  //typeof Math.trunc\n  MathE: function MathE() {\n    return Math.E;\n  },\n  //typeof Math.E\n  MathLN10: function MathLN10() {\n    return Math.LN10;\n  },\n  //typeof Math.LN10\n  MathLN2: function MathLN2() {\n    return Math.LN2;\n  },\n  //typeof Math.LN2\n  MathLOG10E: function MathLOG10E() {\n    return Math.LOG10E;\n  },\n  //typeof Math.LOG10E\n  MathLOG2E: function MathLOG2E() {\n    return Math.LOG2E;\n  },\n  //typeof Math.LOG2E\n  MathPI: function MathPI() {\n    return Math.PI;\n  },\n  //typeof Math.PI\n  MathSQRT1_2: function MathSQRT1_2() {\n    return Math.SQRT1_2;\n  },\n  //typeof Math.SQRT1_2\n  MathSQRT2: function MathSQRT2() {\n    return Math.SQRT2;\n  },\n  //typeof Math.SQRT2\n\n  /**\r\n   * Math end\r\n   */\n\n  /**\r\n   * Reflect start\r\n   */\n  ReflectDefineProperty: Reflect.defineProperty,\n  //typeof Reflect.defineProperty\n  ReflectDeleteProperty: Reflect.deleteProperty,\n  // typeof Reflect.deleteProperty\n  ReflectApply: Reflect.apply,\n  ReflectConstruct: Reflect.construct,\n  // typeof Reflect.construct\n  ReflectGet: Reflect.get,\n  // typeof Reflect.get\n  ReflectGetOwnPropertyDescriptor: Reflect.getOwnPropertyDescriptor,\n  // typeof Reflect.getOwnPropertyDescriptor\n  ReflectGetPrototypeOf: Reflect.getPrototypeOf,\n  // typeof Reflect.getPrototypeOf\n  ReflectHas: Reflect.has,\n  // typeof Reflect.has\n  ReflectIsExtensible: Reflect.isExtensible,\n  // typeof Reflect.isExtensible\n  ReflectOwnKeys: Reflect.ownKeys,\n  // typeof Reflect.ownKeys\n  ReflectPreventExtensions: Reflect.preventExtensions,\n  // typeof Reflect.preventExtensions\n  ReflectSet: Reflect.set,\n  //typeof Reflect.set\n  ReflectSetPrototypeOf: Reflect.setPrototypeOf,\n  // typeof Reflect.setPrototypeOf\n  /**\r\n   * Reflect end\r\n   */\n\n  AggregateError: AggregateError_1,\n  /**\r\n   * Array start\r\n   */\n  ArrayFrom: function ArrayFrom(self, fn) {\n    return Array.from(self, fn);\n  },\n  ArrayIsArray: function ArrayIsArray(self) {\n    return Array.isArray(self);\n  },\n  ArrayPrototypeIncludes: function ArrayPrototypeIncludes(self, el) {\n    return self.includes(el);\n  },\n  ArrayPrototypeFilter: function ArrayPrototypeFilter(self, fn) {\n    return self.filter(fn);\n  },\n  ArrayPrototypeIndexOf: function ArrayPrototypeIndexOf(self, el) {\n    return self.indexOf(el);\n  },\n  ArrayPrototypeJoin: function ArrayPrototypeJoin(self, sep) {\n    return self.join(sep);\n  },\n  ArrayPrototypeMap: function ArrayPrototypeMap(self, fn) {\n    return self.map(fn);\n  },\n  ArrayPrototypePop: function ArrayPrototypePop(self, el) {\n    return self.pop(el);\n  },\n  ArrayPrototypePush: function ArrayPrototypePush(self, el) {\n    return self.push(el);\n  },\n  ArrayPrototypeSlice: function ArrayPrototypeSlice(self, start, end) {\n    return self.slice(start, end);\n  },\n  ArrayPrototypeSplice: function ArrayPrototypeSplice(self, start, end) {\n    for (var _len = arguments.length, args = new Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {\n      args[_key - 3] = arguments[_key];\n    }\n    return self.splice.apply(self, [start, end].concat(args));\n  },\n  ArrayPrototypeUnshift: function ArrayPrototypeUnshift(self, value) {\n    return self.unshift(value);\n  },\n  /**\r\n   * Array end\r\n   */\n\n  /**\r\n   * Map start\r\n   */\n\n  MapPrototypeGet: Map.prototype.get,\n  /**\r\n   * Map end\r\n   */\n  /**\r\n   * Error start\r\n   */\n  Error: Error,\n  ErrorCaptureStackTrace: Error.captureStackTrace,\n  ErrorPrototypeToString: Error.prototype.toString,\n  RangeError: RangeError,\n  /**\r\n   * Error end\r\n   */\n\n  /**\r\n   * JSON start\r\n   */\n  JSONStringify: JSON.stringify,\n  /**\r\n   * JSON end\r\n   */\n  FunctionPrototypeCall: function FunctionPrototypeCall(fn, thisArgs) {\n    for (var _len2 = arguments.length, args = new Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {\n      args[_key2 - 2] = arguments[_key2];\n    }\n    return fn.call.apply(fn, [thisArgs].concat(args));\n  },\n  FunctionPrototypeBind: function FunctionPrototypeBind(fn, thisArgs) {\n    for (var _len3 = arguments.length, args = new Array(_len3 > 2 ? _len3 - 2 : 0), _key3 = 2; _key3 < _len3; _key3++) {\n      args[_key3 - 2] = arguments[_key3];\n    }\n    return fn.bind.apply(fn, [thisArgs].concat(args));\n  },\n  FunctionPrototypeSymbolHasInstance: function FunctionPrototypeSymbolHasInstance(self, instance) {\n    return Function.prototype[Symbol.hasInstance].call(self, instance);\n  },\n  MathFloor: Math.floor,\n  Number: Number,\n  NumberIsInteger: Number.isInteger,\n  NumberIsNaN: Number.isNaN,\n  NumberMAX_SAFE_INTEGER: Number.MAX_SAFE_INTEGER,\n  NumberMIN_SAFE_INTEGER: Number.MIN_SAFE_INTEGER,\n  NumberParseInt: Number.parseInt,\n  NumberIsFinite: Number.isFinite,\n  NumberPrototypeToString: function NumberPrototypeToString(value, radix) {\n    return value.toString(radix);\n  },\n  /**\r\n   * Object start\r\n   */\n  ObjectPrototypeHasOwnProperty: function ObjectPrototypeHasOwnProperty(self, name) {\n    return Object.prototype.hasOwnProperty.call(self, name);\n  },\n  ObjectAssign: Object.assign,\n  ObjectDefineProperties: function ObjectDefineProperties(self, props) {\n    return Object.defineProperties(self, props);\n  },\n  ObjectDefineProperty: function ObjectDefineProperty(self, name, prop) {\n    return Object.defineProperty(self, name, prop);\n  },\n  ObjectGetOwnPropertyDescriptor: function ObjectGetOwnPropertyDescriptor(self, name) {\n    return Object.getOwnPropertyDescriptor(self, name);\n  },\n  ObjectKeys: function ObjectKeys(obj) {\n    return Object.keys(obj);\n  },\n  ObjectCreate: function ObjectCreate(obj) {\n    return Object.create(obj);\n  },\n  ObjectFreeze: function ObjectFreeze(obj) {\n    return Object.freeze(obj);\n  },\n  ObjectEntries: function ObjectEntries(obj) {\n    return Object.entries(obj);\n  },\n  ObjectSetPrototypeOf: function ObjectSetPrototypeOf(target, proto) {\n    return Object.setPrototypeOf(target, proto);\n  },\n  ObjectPrototypeToString: function ObjectPrototypeToString(obj) {\n    return obj.toString();\n  },\n  ObjectPrototypePropertyIsEnumerable: function ObjectPrototypePropertyIsEnumerable(self, val) {\n    return self.propertyIsEnumerable(val);\n  },\n  ObjectIsExtensible: Object.isExtensible,\n  /**\r\n   * Object end\r\n   */\n  Promise: Promise,\n  PromisePrototypeCatch: function PromisePrototypeCatch(self, fn) {\n    return self[\"catch\"](fn);\n  },\n  PromisePrototypeThen: function PromisePrototypeThen(self, thenFn, catchFn) {\n    return self.then(thenFn, catchFn);\n  },\n  PromiseReject: function PromiseReject(err) {\n    return Promise.reject(err);\n  },\n  RegExpPrototypeTest: function RegExpPrototypeTest(self, value) {\n    return self.test(value);\n  },\n  SafeSet: Set,\n  String: String,\n  StringPrototypeSlice: function StringPrototypeSlice(self, start, end) {\n    return self.slice(start, end);\n  },\n  StringPrototypeToLowerCase: function StringPrototypeToLowerCase(self) {\n    return self.toLowerCase();\n  },\n  StringPrototypeToUpperCase: function StringPrototypeToUpperCase(self) {\n    return self.toUpperCase();\n  },\n  StringPrototypeTrim: function StringPrototypeTrim(self) {\n    return self.trim();\n  },\n  StringPrototypeCharCodeAt: function StringPrototypeCharCodeAt(value, index) {\n    return value.charCodeAt(index);\n  },\n  StringPrototypeLastIndexOf: function StringPrototypeLastIndexOf(value, separator) {\n    return value.lastIndexOf(separator);\n  },\n  StringPrototypeCharAt: function StringPrototypeCharAt(value, index) {\n    return value.charAt(index);\n  },\n  StringPrototypeIndexOf: function StringPrototypeIndexOf(value, index) {\n    return value.indexOf(index);\n  },\n  StringPrototypeStartsWith: function StringPrototypeStartsWith(value, index) {\n    return value.startsWith(index);\n  },\n  StringPrototypeIncludes: function StringPrototypeIncludes(self, value, start) {\n    return self.includes(value, start);\n  },\n  StringPrototypePadStart: function StringPrototypePadStart(self, targetLength, padString) {\n    return self.padStart(targetLength, padString);\n  },\n  StringPrototypeReplace: function StringPrototypeReplace(self, searchValue, replaceValue) {\n    return self.replace(searchValue, replaceValue);\n  },\n  DatePrototypeGetDate: function DatePrototypeGetDate(date) {\n    return date.getDate();\n  },\n  DatePrototypeGetHours: function DatePrototypeGetHours(date) {\n    return date.getHours();\n  },\n  DatePrototypeGetMinutes: function DatePrototypeGetMinutes(date) {\n    return date.getMinutes();\n  },\n  DatePrototypeGetMonth: function DatePrototypeGetMonth(date) {\n    return date.getMonth();\n  },\n  DatePrototypeGetSeconds: function DatePrototypeGetSeconds(date) {\n    return date.getSeconds();\n  },\n  Symbol: Symbol,\n  SymbolAsyncIterator: Symbol.asyncIterator,\n  SymbolHasInstance: Symbol.hasInstance,\n  SymbolIterator: Symbol.iterator,\n  TypedArrayPrototypeSet: function TypedArrayPrototypeSet(self, buf, len) {\n    return self.set(buf, len);\n  },\n  decodeURIComponent: decodeURIComponent,\n  Uint8Array: Uint8Array,\n  Int8Array: Int8Array,\n  Array: Array,\n  Date: Date\n};\n\nvar Array$2 = primordials.Array,\n  Int8Array$3 = primordials.Int8Array,\n  NumberPrototypeToString = primordials.NumberPrototypeToString,\n  StringPrototypeCharCodeAt$4 = primordials.StringPrototypeCharCodeAt,\n  StringPrototypeSlice$3 = primordials.StringPrototypeSlice,\n  StringPrototypeToUpperCase = primordials.StringPrototypeToUpperCase;\n\n//const { ERR_INVALID_URI } = require('internal/errors').codes;\n\nvar hexTable$2 = new Array$2(256);\nfor (var i = 0; i < 256; ++i) hexTable$2[i] = \"%\" + StringPrototypeToUpperCase((i < 16 ? \"0\" : \"\") + NumberPrototypeToString(i, 16));\nvar isHexTable$1 = new Int8Array$3([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n// 0 - 15\n0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n// 16 - 31\n0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n// 32 - 47\n1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0,\n// 48 - 63\n0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n// 64 - 79\n0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n// 80 - 95\n0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n// 96 - 111\n0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n// 112 - 127\n0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n// 128 ...\n0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 // ... 256\n]);\n\n/**\r\n * @param {string} str\r\n * @param {Int8Array} noEscapeTable\r\n * @param {string[]} hexTable\r\n * @returns {string}\r\n */\nfunction encodeStr$3(str, noEscapeTable, hexTable) {\n  var len = str.length;\n  if (len === 0) return \"\";\n  var out = \"\";\n  var lastPos = 0;\n  var i = 0;\n  outer: for (; i < len; i++) {\n    var c = StringPrototypeCharCodeAt$4(str, i);\n\n    // ASCII\n    while (c < 0x80) {\n      if (noEscapeTable[c] !== 1) {\n        if (lastPos < i) out += StringPrototypeSlice$3(str, lastPos, i);\n        lastPos = i + 1;\n        out += hexTable[c];\n      }\n      if (++i === len) break outer;\n      c = StringPrototypeCharCodeAt$4(str, i);\n    }\n    if (lastPos < i) out += StringPrototypeSlice$3(str, lastPos, i);\n\n    // Multi-byte characters ...\n    if (c < 0x800) {\n      lastPos = i + 1;\n      out += hexTable[0xc0 | c >> 6] + hexTable[0x80 | c & 0x3f];\n      continue;\n    }\n    if (c < 0xd800 || c >= 0xe000) {\n      lastPos = i + 1;\n      out += hexTable[0xe0 | c >> 12] + hexTable[0x80 | c >> 6 & 0x3f] + hexTable[0x80 | c & 0x3f];\n      continue;\n    }\n    // Surrogate pair\n    ++i;\n\n    // This branch should never happen because all URLSearchParams entries\n    // should already be converted to USVString. But, included for\n    // completion's sake anyway.\n    if (i >= len)\n      //throw new ERR_INVALID_URI();\n      throw new Error(\"ERR_INVALID_URI\");\n    var c2 = StringPrototypeCharCodeAt$4(str, i) & 0x3ff;\n    lastPos = i + 1;\n    c = 0x10000 + ((c & 0x3ff) << 10 | c2);\n    out += hexTable[0xf0 | c >> 18] + hexTable[0x80 | c >> 12 & 0x3f] + hexTable[0x80 | c >> 6 & 0x3f] + hexTable[0x80 | c & 0x3f];\n  }\n  if (lastPos === 0) return str;\n  if (lastPos < len) return out + StringPrototypeSlice$3(str, lastPos);\n  return out;\n}\nvar querystring$2 = {\n  encodeStr: encodeStr$3,\n  hexTable: hexTable$2,\n  isHexTable: isHexTable$1\n};\n\nvar querystring$1 = {exports: {}};\n\n// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n// Query String Utilities\n\nvar Array$1 = primordials.Array,\n  ArrayIsArray$1 = primordials.ArrayIsArray,\n  Int8Array$2 = primordials.Int8Array,\n  MathAbs = primordials.MathAbs,\n  NumberIsFinite = primordials.NumberIsFinite,\n  ObjectCreate$1 = primordials.ObjectCreate,\n  ObjectKeys$1 = primordials.ObjectKeys,\n  String$1 = primordials.String,\n  StringPrototypeCharCodeAt$3 = primordials.StringPrototypeCharCodeAt,\n  StringPrototypeSlice$2 = primordials.StringPrototypeSlice,\n  decodeURIComponent$3 = primordials.decodeURIComponent;\nvar Buffer = require$$1.Buffer;\nvar encodeStr$2 = querystring$2.encodeStr,\n  hexTable$1 = querystring$2.hexTable,\n  isHexTable = querystring$2.isHexTable;\nvar QueryString = querystring$1.exports = {\n  unescapeBuffer: unescapeBuffer,\n  // `unescape()` is a JS global, so we need to use a different local name\n  unescape: qsUnescape,\n  // `escape()` is a JS global, so we need to use a different local name\n  escape: qsEscape,\n  stringify: stringify,\n  encode: stringify,\n  parse: parse$2,\n  decode: parse$2\n};\nvar unhexTable = new Int8Array$2([-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,\n// 0 - 15\n-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,\n// 16 - 31\n-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,\n// 32 - 47\n+0, +1, +2, +3, +4, +5, +6, +7, +8, +9, -1, -1, -1, -1, -1, -1,\n// 48 - 63\n-1, 10, 11, 12, 13, 14, 15, -1, -1, -1, -1, -1, -1, -1, -1, -1,\n// 64 - 79\n-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,\n// 80 - 95\n-1, 10, 11, 12, 13, 14, 15, -1, -1, -1, -1, -1, -1, -1, -1, -1,\n// 96 - 111\n-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,\n// 112 - 127\n-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,\n// 128 ...\n-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 // ... 255\n]);\n/**\r\n * A safe fast alternative to decodeURIComponent\r\n * @param {string} s\r\n * @param {boolean} decodeSpaces\r\n * @returns {string}\r\n */\nfunction unescapeBuffer(s, decodeSpaces) {\n  var out = Buffer.allocUnsafe(s.length);\n  var index = 0;\n  var outIndex = 0;\n  var currentChar;\n  var nextChar;\n  var hexHigh;\n  var hexLow;\n  var maxLength = s.length - 2;\n  // Flag to know if some hex chars have been decoded\n  var hasHex = false;\n  while (index < s.length) {\n    currentChar = StringPrototypeCharCodeAt$3(s, index);\n    if (currentChar === 43 /* '+' */ && decodeSpaces) {\n      out[outIndex++] = 32; // ' '\n      index++;\n      continue;\n    }\n    if (currentChar === 37 /* '%' */ && index < maxLength) {\n      currentChar = StringPrototypeCharCodeAt$3(s, ++index);\n      hexHigh = unhexTable[currentChar];\n      if (!(hexHigh >= 0)) {\n        out[outIndex++] = 37; // '%'\n        continue;\n      } else {\n        nextChar = StringPrototypeCharCodeAt$3(s, ++index);\n        hexLow = unhexTable[nextChar];\n        if (!(hexLow >= 0)) {\n          out[outIndex++] = 37; // '%'\n          index--;\n        } else {\n          hasHex = true;\n          currentChar = hexHigh * 16 + hexLow;\n        }\n      }\n    }\n    out[outIndex++] = currentChar;\n    index++;\n  }\n  return hasHex ? out.slice(0, outIndex) : out;\n}\n\n/**\r\n * @param {string} s\r\n * @param {boolean} decodeSpaces\r\n * @returns {string}\r\n */\nfunction qsUnescape(s, decodeSpaces) {\n  try {\n    return decodeURIComponent$3(s);\n  } catch (err) {\n    return QueryString.unescapeBuffer(s, decodeSpaces).toString();\n  }\n}\n\n// These characters do not need escaping when generating query strings:\n// ! - . _ ~\n// ' ( ) *\n// digits\n// alpha (uppercase)\n// alpha (lowercase)\nvar noEscape = new Int8Array$2([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n// 0 - 15\n0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n// 16 - 31\n0, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0,\n// 32 - 47\n1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0,\n// 48 - 63\n0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,\n// 64 - 79\n1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1,\n// 80 - 95\n0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,\n// 96 - 111\n1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0 // 112 - 127\n]);\n\n/**\r\n * QueryString.escape() replaces encodeURIComponent()\r\n * @see https://www.ecma-international.org/ecma-262/5.1/#sec-15.1.3.4\r\n * @param {any} str\r\n * @returns {string}\r\n */\nfunction qsEscape(str) {\n  if (typeof str !== \"string\") {\n    if (_typeof(str) === \"object\") str = String$1(str);else str += \"\";\n  }\n  return encodeStr$2(str, noEscape, hexTable$1);\n}\n\n/**\r\n * @param {string | number | bigint | boolean | symbol | undefined | null} v\r\n * @returns {string}\r\n */\nfunction stringifyPrimitive(v) {\n  if (typeof v === \"string\") return v;\n  if (typeof v === \"number\" && NumberIsFinite(v)) return \"\" + v;\n  if (typeof v === \"bigint\") return \"\" + v;\n  if (typeof v === \"boolean\") return v ? \"true\" : \"false\";\n  return \"\";\n}\n\n/**\r\n * @param {string | number | bigint | boolean} v\r\n * @param {(v: string) => string} encode\r\n * @returns {string}\r\n */\nfunction encodeStringified(v, encode) {\n  if (typeof v === \"string\") return v.length ? encode(v) : \"\";\n  if (typeof v === \"number\" && NumberIsFinite(v)) {\n    // Values >= 1e21 automatically switch to scientific notation which requires\n    // escaping due to the inclusion of a '+' in the output\n    return MathAbs(v) < 1e21 ? \"\" + v : encode(\"\" + v);\n  }\n  if (typeof v === \"bigint\") return \"\" + v;\n  if (typeof v === \"boolean\") return v ? \"true\" : \"false\";\n  return \"\";\n}\n\n/**\r\n * @param {string | number | boolean | null} v\r\n * @param {(v: string) => string} encode\r\n * @returns {string}\r\n */\nfunction encodeStringifiedCustom(v, encode) {\n  return encode(stringifyPrimitive(v));\n}\n\n/**\r\n * @param {Record<string, string | number | boolean\r\n * | ReadonlyArray<string | number | boolean> | null>} obj\r\n * @param {string} [sep]\r\n * @param {string} [eq]\r\n * @param {{ encodeURIComponent?: (v: string) => string }} [options]\r\n * @returns {string}\r\n */\nfunction stringify(obj, sep, eq, options) {\n  sep = sep || \"&\";\n  eq = eq || \"=\";\n  var encode = QueryString.escape;\n  if (options && typeof options.encodeURIComponent === \"function\") {\n    encode = options.encodeURIComponent;\n  }\n  var convert = encode === qsEscape ? encodeStringified : encodeStringifiedCustom;\n  if (obj !== null && _typeof(obj) === \"object\") {\n    var keys = ObjectKeys$1(obj);\n    var len = keys.length;\n    var fields = \"\";\n    for (var i = 0; i < len; ++i) {\n      var k = keys[i];\n      var v = obj[k];\n      var ks = convert(k, encode);\n      ks += eq;\n      if (ArrayIsArray$1(v)) {\n        var vlen = v.length;\n        if (vlen === 0) continue;\n        if (fields) fields += sep;\n        for (var j = 0; j < vlen; ++j) {\n          if (j) fields += sep;\n          fields += ks;\n          fields += convert(v[j], encode);\n        }\n      } else {\n        if (fields) fields += sep;\n        fields += ks;\n        fields += convert(v, encode);\n      }\n    }\n    return fields;\n  }\n  return \"\";\n}\n\n/**\r\n * @param {string} str\r\n * @returns {number[]}\r\n */\nfunction charCodes(str) {\n  if (str.length === 0) return [];\n  if (str.length === 1) return [StringPrototypeCharCodeAt$3(str, 0)];\n  var ret = new Array$1(str.length);\n  for (var i = 0; i < str.length; ++i) ret[i] = StringPrototypeCharCodeAt$3(str, i);\n  return ret;\n}\nvar defSepCodes = [38]; // &\nvar defEqCodes = [61]; // =\n\nfunction addKeyVal(obj, key, value, keyEncoded, valEncoded, decode) {\n  if (key.length > 0 && keyEncoded) key = decodeStr(key, decode);\n  if (value.length > 0 && valEncoded) value = decodeStr(value, decode);\n  if (obj[key] === undefined) {\n    obj[key] = value;\n  } else {\n    var curValue = obj[key];\n    // A simple Array-specific property check is enough here to\n    // distinguish from a string value and is faster and still safe\n    // since we are generating all of the values being assigned.\n    if (curValue.pop) curValue[curValue.length] = value;else obj[key] = [curValue, value];\n  }\n}\n\n/**\r\n * Parse a key/val string.\r\n * @param {string} qs\r\n * @param {string} sep\r\n * @param {string} eq\r\n * @param {{\r\n *   maxKeys?: number;\r\n *   decodeURIComponent?(v: string): string;\r\n *   }} [options]\r\n * @returns {Record<string, string | string[]>}\r\n */\nfunction parse$2(qs, sep, eq, options) {\n  var obj = ObjectCreate$1(null);\n  if (typeof qs !== \"string\" || qs.length === 0) {\n    return obj;\n  }\n  var sepCodes = !sep ? defSepCodes : charCodes(String$1(sep));\n  var eqCodes = !eq ? defEqCodes : charCodes(String$1(eq));\n  var sepLen = sepCodes.length;\n  var eqLen = eqCodes.length;\n  var pairs = 1000;\n  if (options && typeof options.maxKeys === \"number\") {\n    // -1 is used in place of a value like Infinity for meaning\n    // \"unlimited pairs\" because of additional checks V8 (at least as of v5.4)\n    // has to do when using variables that contain values like Infinity. Since\n    // `pairs` is always decremented and checked explicitly for 0, -1 works\n    // effectively the same as Infinity, while providing a significant\n    // performance boost.\n    pairs = options.maxKeys > 0 ? options.maxKeys : -1;\n  }\n  var decode = QueryString.unescape;\n  if (options && typeof options.decodeURIComponent === \"function\") {\n    decode = options.decodeURIComponent;\n  }\n  var customDecode = decode !== qsUnescape;\n  var lastPos = 0;\n  var sepIdx = 0;\n  var eqIdx = 0;\n  var key = \"\";\n  var value = \"\";\n  var keyEncoded = customDecode;\n  var valEncoded = customDecode;\n  var plusChar = customDecode ? \"%20\" : \" \";\n  var encodeCheck = 0;\n  for (var i = 0; i < qs.length; ++i) {\n    var code = StringPrototypeCharCodeAt$3(qs, i);\n\n    // Try matching key/value pair separator (e.g. '&')\n    if (code === sepCodes[sepIdx]) {\n      if (++sepIdx === sepLen) {\n        // Key/value pair separator match!\n        var end = i - sepIdx + 1;\n        if (eqIdx < eqLen) {\n          // We didn't find the (entire) key/value separator\n          if (lastPos < end) {\n            // Treat the substring as part of the key instead of the value\n            key += StringPrototypeSlice$2(qs, lastPos, end);\n          } else if (key.length === 0) {\n            // We saw an empty substring between separators\n            if (--pairs === 0) return obj;\n            lastPos = i + 1;\n            sepIdx = eqIdx = 0;\n            continue;\n          }\n        } else if (lastPos < end) {\n          value += StringPrototypeSlice$2(qs, lastPos, end);\n        }\n        addKeyVal(obj, key, value, keyEncoded, valEncoded, decode);\n        if (--pairs === 0) return obj;\n        keyEncoded = valEncoded = customDecode;\n        key = value = \"\";\n        encodeCheck = 0;\n        lastPos = i + 1;\n        sepIdx = eqIdx = 0;\n      }\n    } else {\n      sepIdx = 0;\n      // Try matching key/value separator (e.g. '=') if we haven't already\n      if (eqIdx < eqLen) {\n        if (code === eqCodes[eqIdx]) {\n          if (++eqIdx === eqLen) {\n            // Key/value separator match!\n            var _end = i - eqIdx + 1;\n            if (lastPos < _end) key += StringPrototypeSlice$2(qs, lastPos, _end);\n            encodeCheck = 0;\n            lastPos = i + 1;\n          }\n          continue;\n        } else {\n          eqIdx = 0;\n          if (!keyEncoded) {\n            // Try to match an (valid) encoded byte once to minimize unnecessary\n            // calls to string decoding functions\n            if (code === 37 /* % */) {\n              encodeCheck = 1;\n              continue;\n            } else if (encodeCheck > 0) {\n              if (isHexTable[code] === 1) {\n                if (++encodeCheck === 3) keyEncoded = true;\n                continue;\n              } else {\n                encodeCheck = 0;\n              }\n            }\n          }\n        }\n        if (code === 43 /* + */) {\n          if (lastPos < i) key += StringPrototypeSlice$2(qs, lastPos, i);\n          key += plusChar;\n          lastPos = i + 1;\n          continue;\n        }\n      }\n      if (code === 43 /* + */) {\n        if (lastPos < i) value += StringPrototypeSlice$2(qs, lastPos, i);\n        value += plusChar;\n        lastPos = i + 1;\n      } else if (!valEncoded) {\n        // Try to match an (valid) encoded byte (once) to minimize unnecessary\n        // calls to string decoding functions\n        if (code === 37 /* % */) {\n          encodeCheck = 1;\n        } else if (encodeCheck > 0) {\n          if (isHexTable[code] === 1) {\n            if (++encodeCheck === 3) valEncoded = true;\n          } else {\n            encodeCheck = 0;\n          }\n        }\n      }\n    }\n  }\n\n  // Deal with any leftover key or value data\n  if (lastPos < qs.length) {\n    if (eqIdx < eqLen) key += StringPrototypeSlice$2(qs, lastPos);else if (sepIdx < sepLen) value += StringPrototypeSlice$2(qs, lastPos);\n  } else if (eqIdx === 0 && key.length === 0) {\n    // We ended on an empty substring\n    return obj;\n  }\n  addKeyVal(obj, key, value, keyEncoded, valEncoded, decode);\n  return obj;\n}\n\n/**\r\n * V8 does not optimize functions with try-catch blocks, so we isolate them here\r\n * to minimize the damage (Note: no longer true as of V8 5.4 -- but still will\r\n * not be inlined).\r\n * @param {string} s\r\n * @param {(v: string) => string} decoder\r\n * @returns {string}\r\n */\nfunction decodeStr(s, decoder) {\n  try {\n    return decoder(s);\n  } catch (err) {\n    return QueryString.unescape(s, true);\n  }\n}\nvar querystringExports = querystring$1.exports;\n\nvar validator = {};\n\nvar nodeInternalPrefix = \"__node_internal_\";\nvar ObjectDefineProperty = primordials.ObjectDefineProperty,\n  ArrayIsArray = primordials.ArrayIsArray,\n  ArrayPrototypeIncludes = primordials.ArrayPrototypeIncludes,\n  NumberIsNaN = primordials.NumberIsNaN;\nvar hideStackFrames = function hideStackFrames(fn) {\n  // We rename the functions that will be hidden to cut off the stacktrace\n  // at the outermost one\n  var hidden = nodeInternalPrefix + fn.name;\n  ObjectDefineProperty(fn, \"name\", {\n    __proto__: null,\n    value: hidden\n  });\n  return fn;\n};\nvalidator.validateString = hideStackFrames(function (value, name) {\n  if (typeof value !== \"string\") {\n    throw new Error(\"ERR_INVALID_ARG_TYPE value:\" + value + \" name:\" + name);\n  }\n});\nvalidator.validateFunction = hideStackFrames(function (value, name) {\n  if (typeof value !== \"function\") throw new Error(\"ERR_INVALID_ARG_TYPE value:\" + value + \" name:\" + name);\n});\nvalidator.validateAbortSignal = hideStackFrames(function (signal, name) {\n  if (signal !== undefined && (signal === null || _typeof(signal) !== \"object\" || !(\"aborted\" in signal))) {\n    throw new Error(\"ERR_INVALID_ARG_TYPE value:\" + value + \" name:\" + name);\n  }\n});\nvalidator.validateObject = hideStackFrames(function (value, name, options) {\n  var useDefaultOptions = options == null;\n  var allowArray = useDefaultOptions ? false : options.allowArray;\n  var allowFunction = useDefaultOptions ? false : options.allowFunction;\n  var nullable = useDefaultOptions ? false : options.nullable;\n  if (!nullable && value === null || !allowArray && ArrayIsArray(value) || _typeof(value) !== \"object\" && (!allowFunction || typeof value !== \"function\")) {\n    throw new Error(\"ERR_INVALID_ARG_TYPE value:\" + value + \" name:\" + name);\n  }\n});\nvalidator.validateNumber = function validateNumber(value, name) {\n  var min = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : undefined;\n  var max = arguments.length > 3 ? arguments[3] : undefined;\n  if (typeof value !== \"number\") throw new Error(\"ERR_INVALID_ARG_TYPE value:\" + value + \" name:\" + name);\n  if (min != null && value < min || max != null && value > max || (min != null || max != null) && NumberIsNaN(value)) {\n    throw new Error(\"ERR_OUT_OF_RANGE, name:\" + name + \", \" + \"\".concat(min != null ? \">= \".concat(min) : \"\").concat(min != null && max != null ? \" && \" : \"\").concat(max != null ? \"<= \".concat(max) : \"\") + value);\n  }\n};\nvalidator.validateBoolean = function validateBoolean(value, name) {\n  if (typeof value !== \"boolean\") throw new Error(\"ERR_INVALID_ARG_TYPE value:\" + value + \" name:\" + name);\n};\nvalidator.validateArray = hideStackFrames(function (value, name) {\n  var minLength = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n  if (!Array.isArray(value)) {\n    throw new Error(\"Array:\" + name);\n  }\n  if (value.length < minLength) {\n    var reason = \"must be longer than \".concat(minLength);\n    throw new Error(\"ERR_INVALID_ARG_VALUE name:\" + name + \",value:\" + value + \",reason:\" + reason);\n  }\n});\nvalidator.validateUnion = function validateUnion(value, name, union) {\n  if (!ArrayPrototypeIncludes(union, value)) {\n    throw new Error(\"ERR_INVALID_ARG_TYPE, name:\" + name + \",union:\" + union + \",value:\" + value);\n  }\n};\n\nvar constants$1 = {\n  // Alphabet chars.\n  CHAR_UPPERCASE_A: 65 /* A */,\n  CHAR_LOWERCASE_A: 97 /* a */,\n  CHAR_UPPERCASE_Z: 90 /* Z */,\n  CHAR_LOWERCASE_Z: 122 /* z */,\n  CHAR_UPPERCASE_C: 67 /* C */,\n  CHAR_LOWERCASE_B: 98 /* b */,\n  CHAR_LOWERCASE_E: 101 /* e */,\n  CHAR_LOWERCASE_N: 110 /* n */,\n\n  // Non-alphabetic chars.\n  CHAR_DOT: 46 /* . */,\n  CHAR_FORWARD_SLASH: 47 /* / */,\n  CHAR_BACKWARD_SLASH: 92 /* \\ */,\n  CHAR_VERTICAL_LINE: 124 /* | */,\n  CHAR_COLON: 58 /* : */,\n  CHAR_QUESTION_MARK: 63 /* ? */,\n  CHAR_UNDERSCORE: 95 /* _ */,\n  CHAR_LINE_FEED: 10 /* \\n */,\n  CHAR_CARRIAGE_RETURN: 13 /* \\r */,\n  CHAR_TAB: 9 /* \\t */,\n  CHAR_FORM_FEED: 12 /* \\f */,\n  CHAR_EXCLAMATION_MARK: 33 /* ! */,\n  CHAR_HASH: 35 /* # */,\n  CHAR_SPACE: 32 /*   */,\n  CHAR_NO_BREAK_SPACE: 160 /* \\u00A0 */,\n  CHAR_ZERO_WIDTH_NOBREAK_SPACE: 65279 /* \\uFEFF */,\n  CHAR_LEFT_SQUARE_BRACKET: 91,\n  //* [ */\n  CHAR_RIGHT_SQUARE_BRACKET: 93 /* ] */,\n  CHAR_LEFT_ANGLE_BRACKET: 60 /* < */,\n  CHAR_RIGHT_ANGLE_BRACKET: 62 /* > */,\n  CHAR_LEFT_CURLY_BRACKET: 123 /* { */,\n  CHAR_RIGHT_CURLY_BRACKET: 125 /* } */,\n  CHAR_HYPHEN_MINUS: 45 /* - */,\n  CHAR_PLUS: 43 /* + */,\n  CHAR_DOUBLE_QUOTE: 34 /* \" */,\n  CHAR_SINGLE_QUOTE: 39 /* ' */,\n  CHAR_PERCENT: 37 /* % */,\n  CHAR_SEMICOLON: 59 /* ; */,\n  CHAR_CIRCUMFLEX_ACCENT: 94 /* ^ */,\n  CHAR_GRAVE_ACCENT: 96 /* ` */,\n  CHAR_AT: 64 /* @ */,\n  CHAR_AMPERSAND: 38 /* & */,\n  CHAR_EQUAL: 61 /* = */,\n\n  // Digits\n  CHAR_0: 48 /* 0 */,\n  CHAR_9: 57 /* 9 */,\n\n  EOL: \"\\n\"\n};\n\n// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\nvar constants = constants$1;\nvar StringPrototypeCharCodeAt$2 = primordials.StringPrototypeCharCodeAt,\n  StringPrototypeSlice$1 = primordials.StringPrototypeSlice,\n  StringPrototypeLastIndexOf = primordials.StringPrototypeLastIndexOf,\n  FunctionPrototypeBind = primordials.FunctionPrototypeBind;\nvar validateString$1 = validator.validateString,\n  validateObject$1 = validator.validateObject;\nvar sep = \"/\";\nfunction isPathSeparator(code) {\n  return code === constants.CHAR_FORWARD_SLASH;\n}\nfunction _format(sep, pathObject) {\n  validateObject$1(pathObject, \"pathObject\");\n  var dir = pathObject.dir || pathObject.root;\n  var base = pathObject.base || \"\".concat(pathObject.name || \"\").concat(pathObject.ext || \"\");\n  if (!dir) {\n    return base;\n  }\n  return dir === pathObject.root ? \"\".concat(dir).concat(base) : \"\".concat(dir).concat(sep).concat(base);\n}\nfunction basename(path, ext) {\n  if (ext !== undefined) validateString$1(ext, \"ext\");\n  validateString$1(path, \"path\");\n  var start = 0;\n  var end = -1;\n  var matchedSlash = true;\n  if (ext !== undefined && ext.length > 0 && ext.length <= path.length) {\n    if (ext === path) return \"\";\n    var extIdx = ext.length - 1;\n    var firstNonSlashEnd = -1;\n    for (var i = path.length - 1; i >= start; --i) {\n      var code = StringPrototypeCharCodeAt$2(path, i);\n      if (isPathSeparator(code)) {\n        // If we reached a path separator that was not part of a set of path\n        // separators at the end of the string, stop now\n        if (!matchedSlash) {\n          start = i + 1;\n          break;\n        }\n      } else {\n        if (firstNonSlashEnd === -1) {\n          // We saw the first non-path separator, remember this index in case\n          // we need it if the extension ends up not matching\n          matchedSlash = false;\n          firstNonSlashEnd = i + 1;\n        }\n        if (extIdx >= 0) {\n          // Try to match the explicit extension\n          if (code === StringPrototypeCharCodeAt$2(ext, extIdx)) {\n            if (--extIdx === -1) {\n              // We matched the extension, so mark this as the end of our path\n              // component\n              end = i;\n            }\n          } else {\n            // Extension does not match, so our result is the entire path\n            // component\n            extIdx = -1;\n            end = firstNonSlashEnd;\n          }\n        }\n      }\n    }\n    if (start === end) end = firstNonSlashEnd;else if (end === -1) end = path.length;\n    return StringPrototypeSlice$1(path, start, end);\n  }\n  for (var _i = path.length - 1; _i >= start; --_i) {\n    if (isPathSeparator(StringPrototypeCharCodeAt$2(path, _i))) {\n      // If we reached a path separator that was not part of a set of path\n      // separators at the end of the string, stop now\n      if (!matchedSlash) {\n        start = _i + 1;\n        break;\n      }\n    } else if (end === -1) {\n      // We saw the first non-path separator, mark this as the end of our\n      // path component\n      matchedSlash = false;\n      end = _i + 1;\n    }\n  }\n  if (end === -1) return \"\";\n  return StringPrototypeSlice$1(path, start, end);\n}\nfunction dirname(path) {\n  validateString$1(path, \"path\");\n  var len = path.length;\n  if (len === 0) return \".\";\n  var rootEnd = -1;\n  var offset = 0;\n  var code = StringPrototypeCharCodeAt$2(path, 0);\n  if (len === 1) {\n    // `path` contains just a path separator, exit early to avoid\n    // unnecessary work or a dot.\n    return isPathSeparator(code) ? path : \".\";\n  }\n\n  // Try to match a root\n  if (isPathSeparator(code)) {\n    // Possible UNC root\n\n    rootEnd = offset = 1;\n    if (isPathSeparator(StringPrototypeCharCodeAt$2(path, 1))) {\n      // Matched double path separator at beginning\n      var j = 2;\n      var last = j;\n      // Match 1 or more non-path separators\n      while (j < len && !isPathSeparator(StringPrototypeCharCodeAt$2(path, j))) {\n        j++;\n      }\n      if (j < len && j !== last) {\n        // Matched!\n        last = j;\n        // Match 1 or more path separators\n        while (j < len && isPathSeparator(StringPrototypeCharCodeAt$2(path, j))) {\n          j++;\n        }\n        if (j < len && j !== last) {\n          // Matched!\n          last = j;\n          // Match 1 or more non-path separators\n          while (j < len && !isPathSeparator(StringPrototypeCharCodeAt$2(path, j))) {\n            j++;\n          }\n          if (j === len) {\n            // We matched a UNC root only\n            return path;\n          }\n          if (j !== last) {\n            // We matched a UNC root with leftovers\n\n            // Offset by 1 to include the separator after the UNC root to\n            // treat it as a \"normal root\" on top of a (UNC) root\n            rootEnd = offset = j + 1;\n          }\n        }\n      }\n    }\n    // Possible device root\n  }\n\n  var end = -1;\n  var matchedSlash = true;\n  for (var i = len - 1; i >= offset; --i) {\n    if (isPathSeparator(StringPrototypeCharCodeAt$2(path, i))) {\n      if (!matchedSlash) {\n        end = i;\n        break;\n      }\n    } else {\n      // We saw the first non-path separator\n      matchedSlash = false;\n    }\n  }\n  if (end === -1) {\n    if (rootEnd === -1) return \".\";\n    end = rootEnd;\n  }\n  return StringPrototypeSlice$1(path, 0, end);\n}\nfunction join() {\n  if (arguments.length === 0) return \".\";\n  var joined;\n  for (var i = 0; i < arguments.length; ++i) {\n    var arg = i < 0 || arguments.length <= i ? undefined : arguments[i];\n    validateString$1(arg, \"path\");\n    if (arg.length > 0) {\n      if (joined === undefined) joined = arg;else joined += \"/\".concat(arg);\n    }\n  }\n  if (joined === undefined) return \".\";\n  return normalize(joined);\n}\nfunction normalize(path) {\n  validateString$1(path, \"path\");\n  if (path.length === 0) return \".\";\n  var isAbsolute = StringPrototypeCharCodeAt$2(path, 0) === constants.CHAR_FORWARD_SLASH;\n  var trailingSeparator = StringPrototypeCharCodeAt$2(path, path.length - 1) === constants.CHAR_FORWARD_SLASH;\n\n  // Normalize the path\n  path = normalizeString(path, !isAbsolute, \"/\");\n  if (path.length === 0) {\n    if (isAbsolute) return \"/\";\n    return trailingSeparator ? \"./\" : \".\";\n  }\n  if (trailingSeparator) path += \"/\";\n  return isAbsolute ? \"/\".concat(path) : path;\n}\nfunction normalizeString(path, allowAboveRoot, separator) {\n  var res = \"\";\n  var lastSegmentLength = 0;\n  var lastSlash = -1;\n  var dots = 0;\n  var code = 0;\n  for (var i = 0; i <= path.length; ++i) {\n    if (i < path.length) code = StringPrototypeCharCodeAt$2(path, i);else if (isPathSeparator(code)) break;else code = constants.CHAR_FORWARD_SLASH;\n    if (isPathSeparator(code)) {\n      if (lastSlash === i - 1 || dots === 1) ; else if (dots === 2) {\n        if (res.length < 2 || lastSegmentLength !== 2 || StringPrototypeCharCodeAt$2(res, res.length - 1) !== constants.CHAR_DOT || StringPrototypeCharCodeAt$2(res, res.length - 2) !== constants.CHAR_DOT) {\n          if (res.length > 2) {\n            var lastSlashIndex = StringPrototypeLastIndexOf(res, separator);\n            if (lastSlashIndex === -1) {\n              res = \"\";\n              lastSegmentLength = 0;\n            } else {\n              res = StringPrototypeSlice$1(res, 0, lastSlashIndex);\n              lastSegmentLength = res.length - 1 - StringPrototypeLastIndexOf(res, separator);\n            }\n            lastSlash = i;\n            dots = 0;\n            continue;\n          } else if (res.length !== 0) {\n            res = \"\";\n            lastSegmentLength = 0;\n            lastSlash = i;\n            dots = 0;\n            continue;\n          }\n        }\n        if (allowAboveRoot) {\n          res += res.length > 0 ? \"\".concat(separator, \"..\") : \"..\";\n          lastSegmentLength = 2;\n        }\n      } else {\n        if (res.length > 0) res += \"\".concat(separator).concat(StringPrototypeSlice$1(path, lastSlash + 1, i));else res = StringPrototypeSlice$1(path, lastSlash + 1, i);\n        lastSegmentLength = i - lastSlash - 1;\n      }\n      lastSlash = i;\n      dots = 0;\n    } else if (code === constants.CHAR_DOT && dots !== -1) {\n      ++dots;\n    } else {\n      dots = -1;\n    }\n  }\n  return res;\n}\nfunction resolve$1() {\n  var resolvedPath = \"\";\n  var resolvedAbsolute = false;\n  for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) {\n    var _path = i >= 0 ? i < 0 || arguments.length <= i ? undefined : arguments[i] : sep;\n    validateString$1(_path, \"path\");\n\n    // Skip empty entries\n    if (_path.length === 0) {\n      continue;\n    }\n    resolvedPath = \"\".concat(_path, \"/\").concat(resolvedPath);\n    resolvedAbsolute = StringPrototypeCharCodeAt$2(_path, 0) === constants.CHAR_FORWARD_SLASH;\n  }\n\n  // At this point the path should be resolved to a full absolute path, but\n  // handle relative paths to be safe (might happen when process.cwd() fails)\n\n  // Normalize the path\n  resolvedPath = normalizeString(resolvedPath, !resolvedAbsolute, \"/\");\n  if (resolvedAbsolute) {\n    return \"/\".concat(resolvedPath);\n  }\n  return resolvedPath.length > 0 ? resolvedPath : \".\";\n}\nfunction isAbsolute(path) {\n  validateString$1(path, \"path\");\n  return path.length > 0 && StringPrototypeCharCodeAt$2(path, 0) === constants.CHAR_FORWARD_SLASH;\n}\nfunction relative(from, to) {\n  validateString$1(from, \"from\");\n  validateString$1(to, \"to\");\n  if (from === to) return \"\";\n\n  // Trim leading forward slashes.\n  from = resolve$1(from);\n  to = resolve$1(to);\n  if (from === to) return \"\";\n  var fromStart = 1;\n  var fromEnd = from.length;\n  var fromLen = fromEnd - fromStart;\n  var toStart = 1;\n  var toLen = to.length - toStart;\n\n  // Compare paths to find the longest common path from root\n  var length = fromLen < toLen ? fromLen : toLen;\n  var lastCommonSep = -1;\n  var i = 0;\n  for (; i < length; i++) {\n    var fromCode = StringPrototypeCharCodeAt$2(from, fromStart + i);\n    if (fromCode !== StringPrototypeCharCodeAt$2(to, toStart + i)) break;else if (fromCode === constants.CHAR_FORWARD_SLASH) lastCommonSep = i;\n  }\n  if (i === length) {\n    if (toLen > length) {\n      if (StringPrototypeCharCodeAt$2(to, toStart + i) === constants.CHAR_FORWARD_SLASH) {\n        // We get here if `from` is the exact base path for `to`.\n        // For example: from='/foo/bar'; to='/foo/bar/baz'\n        return StringPrototypeSlice$1(to, toStart + i + 1);\n      }\n      if (i === 0) {\n        // We get here if `from` is the root\n        // For example: from='/'; to='/foo'\n        return StringPrototypeSlice$1(to, toStart + i);\n      }\n    } else if (fromLen > length) {\n      if (StringPrototypeCharCodeAt$2(from, fromStart + i) === constants.CHAR_FORWARD_SLASH) {\n        // We get here if `to` is the exact base path for `from`.\n        // For example: from='/foo/bar/baz'; to='/foo/bar'\n        lastCommonSep = i;\n      } else if (i === 0) {\n        // We get here if `to` is the root.\n        // For example: from='/foo/bar'; to='/'\n        lastCommonSep = 0;\n      }\n    }\n  }\n  var out = \"\";\n  // Generate the relative path based on the path difference between `to`\n  // and `from`.\n  for (i = fromStart + lastCommonSep + 1; i <= fromEnd; ++i) {\n    if (i === fromEnd || StringPrototypeCharCodeAt$2(from, i) === constants.CHAR_FORWARD_SLASH) {\n      out += out.length === 0 ? \"..\" : \"/..\";\n    }\n  }\n\n  // Lastly, append the rest of the destination (`to`) path that comes after\n  // the common path parts.\n  return \"\".concat(out).concat(StringPrototypeSlice$1(to, toStart + lastCommonSep));\n}\nfunction extname(path) {\n  validateString$1(path, \"path\");\n  var startDot = -1;\n  var startPart = 0;\n  var end = -1;\n  var matchedSlash = true;\n  // Track the state of characters (if any) we see before our first dot and\n  // after any path separator we find\n  var preDotState = 0;\n  for (var i = path.length - 1; i >= 0; --i) {\n    path.charcode;\n    var code = StringPrototypeCharCodeAt$2(path, i);\n    if (code === constants.CHAR_FORWARD_SLASH) {\n      // If we reached a path separator that was not part of a set of path\n      // separators at the end of the string, stop now\n      if (!matchedSlash) {\n        startPart = i + 1;\n        break;\n      }\n      continue;\n    }\n    if (end === -1) {\n      // We saw the first non-path separator, mark this as the end of our\n      // extension\n      matchedSlash = false;\n      end = i + 1;\n    }\n    if (code === constants.CHAR_DOT) {\n      // If this is our first dot, mark it as the start of our extension\n      if (startDot === -1) startDot = i;else if (preDotState !== 1) preDotState = 1;\n    } else if (startDot !== -1) {\n      // We saw a non-dot and non-path separator before our dot, so we should\n      // have a good chance at having a non-empty extension\n      preDotState = -1;\n    }\n  }\n  if (startDot === -1 || end === -1 ||\n  // We saw a non-dot character immediately before the dot\n  preDotState === 0 ||\n  // The (right-most) trimmed path component is exactly '..'\n  preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {\n    return \"\";\n  }\n  return StringPrototypeSlice$1(path, startDot, end);\n}\nvar format$1 = FunctionPrototypeBind(_format, null, \"/\");\nfunction parse$1(path) {\n  validateString$1(path, \"path\");\n  var ret = {\n    root: \"\",\n    dir: \"\",\n    base: \"\",\n    ext: \"\",\n    name: \"\"\n  };\n  if (path.length === 0) return ret;\n  var isAbsolute = StringPrototypeCharCodeAt$2(path, 0) === constants.CHAR_FORWARD_SLASH;\n  var start;\n  if (isAbsolute) {\n    ret.root = \"/\";\n    start = 1;\n  } else {\n    start = 0;\n  }\n  var startDot = -1;\n  var startPart = 0;\n  var end = -1;\n  var matchedSlash = true;\n  var i = path.length - 1;\n\n  // Track the state of characters (if any) we see before our first dot and\n  // after any path separator we find\n  var preDotState = 0;\n\n  // Get non-dir info\n  for (; i >= start; --i) {\n    var code = StringPrototypeCharCodeAt$2(path, i);\n    if (code === constants.CHAR_FORWARD_SLASH) {\n      // If we reached a path separator that was not part of a set of path\n      // separators at the end of the string, stop now\n      if (!matchedSlash) {\n        startPart = i + 1;\n        break;\n      }\n      continue;\n    }\n    if (end === -1) {\n      // We saw the first non-path separator, mark this as the end of our\n      // extension\n      matchedSlash = false;\n      end = i + 1;\n    }\n    if (code === constants.CHAR_DOT) {\n      // If this is our first dot, mark it as the start of our extension\n      if (startDot === -1) startDot = i;else if (preDotState !== 1) preDotState = 1;\n    } else if (startDot !== -1) {\n      // We saw a non-dot and non-path separator before our dot, so we should\n      // have a good chance at having a non-empty extension\n      preDotState = -1;\n    }\n  }\n  if (end !== -1) {\n    var _start = startPart === 0 && isAbsolute ? 1 : startPart;\n    if (startDot === -1 ||\n    // We saw a non-dot character immediately before the dot\n    preDotState === 0 ||\n    // The (right-most) trimmed path component is exactly '..'\n    preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {\n      ret.base = ret.name = StringPrototypeSlice$1(path, _start, end);\n    } else {\n      ret.name = StringPrototypeSlice$1(path, _start, startDot);\n      ret.base = StringPrototypeSlice$1(path, _start, end);\n      ret.ext = StringPrototypeSlice$1(path, startDot, end);\n    }\n  }\n  if (startPart > 0) ret.dir = StringPrototypeSlice$1(path, 0, startPart - 1);else if (isAbsolute) ret.dir = \"/\";\n  return ret;\n}\nvar path$1 = {\n  basename: basename,\n  dirname: dirname,\n  extname: extname,\n  format: format$1,\n  parse: parse$1,\n  sep: sep,\n  join: join,\n  resolve: resolve$1,\n  isAbsolute: isAbsolute,\n  relative: relative,\n  normalize: normalize\n};\n\nvar utf16 = {\n  decode: function decode(input) {\n    var output = [],\n      i = 0,\n      len = input.length,\n      value,\n      extra;\n    while (i < len) {\n      value = input.charCodeAt(i++);\n      if ((value & 0xF800) === 0xD800) {\n        extra = input.charCodeAt(i++);\n        if ((value & 0xFC00) !== 0xD800 || (extra & 0xFC00) !== 0xDC00) {\n          throw new RangeError(\"UTF-16(decode): Illegal UTF-16 sequence\");\n        }\n        value = ((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000;\n      }\n      output.push(value);\n    }\n    return output;\n  },\n  encode: function encode(input) {\n    var output = [],\n      i = 0,\n      len = input.length,\n      value;\n    while (i < len) {\n      value = input[i++];\n      if ((value & 0xF800) === 0xD800) {\n        throw new RangeError(\"UTF-16(encode): Illegal UTF-16 value\");\n      }\n      if (value > 0xFFFF) {\n        value -= 0x10000;\n        output.push(String.fromCharCode(value >>> 10 & 0x3FF | 0xD800));\n        value = 0xDC00 | value & 0x3FF;\n      }\n      output.push(String.fromCharCode(value));\n    }\n    return output.join(\"\");\n  }\n};\nvar initial_n = 0x80;\nvar initial_bias = 72;\nvar delimiter = \"-\";\nvar base = 36;\nvar damp = 700;\nvar tmin = 1;\nvar tmax = 26;\nvar skew = 38;\nvar maxint = 0x7FFFFFFF;\nfunction decode_digit(cp) {\n  return cp - 48 < 10 ? cp - 22 : cp - 65 < 26 ? cp - 65 : cp - 97 < 26 ? cp - 97 : base;\n}\nfunction encode_digit(d, flag) {\n  return d + 22 + Number(75 * Number(d < 26)) - (Number(flag != 0) << 5);\n}\nfunction adapt(delta, numpoints, firsttime) {\n  var k;\n  delta = firsttime ? Math.floor(delta / damp) : delta >> 1;\n  delta += Math.floor(delta / numpoints);\n  for (k = 0; delta > (base - tmin) * tmax >> 1; k += base) {\n    delta = Math.floor(delta / (base - tmin));\n  }\n  return Math.floor(k + (base - tmin + 1) * delta / (delta + skew));\n}\nfunction encode_basic(bcp, flag) {\n  bcp -= Number(bcp - 97 < 26) << 5;\n  return bcp + ((!flag && Number(bcp - 65 < 26)) << 5);\n}\nfunction decode$1(input, preserveCase) {\n  var output = [];\n  var case_flags = [];\n  var input_length = input.length;\n  var n, out, i, bias, basic, j, ic, oldi, w, k, digit, t, len;\n  n = initial_n;\n  i = 0;\n  bias = initial_bias;\n  basic = input.lastIndexOf(delimiter);\n  if (basic < 0) basic = 0;\n  for (j = 0; j < basic; ++j) {\n    if (preserveCase) case_flags[output.length] = input.charCodeAt(j) - 65 < 26;\n    if (input.charCodeAt(j) >= 0x80) {\n      throw new RangeError(\"Illegal input >= 0x80\");\n    }\n    output.push(input.charCodeAt(j));\n  }\n  for (ic = basic > 0 ? basic + 1 : 0; ic < input_length;) {\n    for (oldi = i, w = 1, k = base;; k += base) {\n      if (ic >= input_length) {\n        throw RangeError(\"punycode_bad_input(1)\");\n      }\n      digit = decode_digit(input.charCodeAt(ic++));\n      if (digit >= base) {\n        throw RangeError(\"punycode_bad_input(2)\");\n      }\n      if (digit > Math.floor((maxint - i) / w)) {\n        throw RangeError(\"punycode_overflow(1)\");\n      }\n      i += digit * w;\n      t = k <= bias ? tmin : k >= bias + tmax ? tmax : k - bias;\n      if (digit < t) {\n        break;\n      }\n      if (w > Math.floor(maxint / (base - t))) {\n        throw RangeError(\"punycode_overflow(2)\");\n      }\n      w *= base - t;\n    }\n    out = output.length + 1;\n    bias = adapt(i - oldi, out, oldi === 0);\n    if (Math.floor(i / out) > maxint - n) {\n      throw RangeError(\"punycode_overflow(3)\");\n    }\n    n += Math.floor(i / out);\n    i %= out;\n    if (preserveCase) {\n      case_flags.splice(i, 0, input.charCodeAt(ic - 1) - 65 < 26);\n    }\n    output.splice(i, 0, n);\n    i++;\n  }\n  if (preserveCase) {\n    for (i = 0, len = output.length; i < len; i++) {\n      if (case_flags[i]) {\n        output[i] = String.fromCharCode(output[i]).toUpperCase().charCodeAt(0);\n      }\n    }\n  }\n  return utf16.encode(output);\n}\nfunction encode$1(input, preserveCase) {\n  var n, delta, h, b, bias, j, m, q, k, t, ijv, case_flags;\n  if (preserveCase) {\n    case_flags = utf16.decode(input);\n  }\n  input = utf16.decode(input.toLowerCase());\n  var input_length = input.length; // Cache the length\n\n  if (preserveCase) {\n    for (j = 0; j < input_length; j++) {\n      case_flags[j] = input[j] != case_flags[j];\n    }\n  }\n  var output = [];\n  n = initial_n;\n  delta = 0;\n  bias = initial_bias;\n  for (j = 0; j < input_length; ++j) {\n    if (input[j] < 0x80) {\n      output.push(String.fromCharCode(case_flags ? encode_basic(input[j], case_flags[j]) : input[j]));\n    }\n  }\n  h = b = output.length;\n  if (b > 0) output.push(delimiter);\n  while (h < input_length) {\n    for (m = maxint, j = 0; j < input_length; ++j) {\n      ijv = input[j];\n      if (ijv >= n && ijv < m) m = ijv;\n    }\n    if (m - n > Math.floor((maxint - delta) / (h + 1))) {\n      throw RangeError(\"punycode_overflow (1)\");\n    }\n    delta += (m - n) * (h + 1);\n    n = m;\n    for (j = 0; j < input_length; ++j) {\n      ijv = input[j];\n      if (ijv < n) {\n        if (++delta > maxint) return Error(\"punycode_overflow(2)\");\n      }\n      if (ijv == n) {\n        for (q = delta, k = base;; k += base) {\n          t = k <= bias ? tmin : k >= bias + tmax ? tmax : k - bias;\n          if (q < t) break;\n          output.push(String.fromCharCode(encode_digit(t + (q - t) % (base - t), 0)));\n          q = Math.floor((q - t) / (base - t));\n        }\n        output.push(String.fromCharCode(encode_digit(q, preserveCase && case_flags[j] ? 1 : 0)));\n        bias = adapt(delta, h + 1, h == b);\n        delta = 0;\n        ++h;\n      }\n    }\n    ++delta, ++n;\n  }\n  return output.join(\"\");\n}\nvar punycode = {\n  decode: decode$1,\n  encode: encode$1\n};\n\nvar url_oh = require$$0$1;\nvar Number$1 = primordials.Number,\n  StringPrototypeCharCodeAt$1 = primordials.StringPrototypeCharCodeAt,\n  StringPrototypeIncludes = primordials.StringPrototypeIncludes,\n  StringPrototypeReplace = primordials.StringPrototypeReplace,\n  StringPrototypeSlice = primordials.StringPrototypeSlice,\n  StringPrototypeStartsWith = primordials.StringPrototypeStartsWith,\n  decodeURIComponent$2 = primordials.decodeURIComponent;\nvar validateObject = validator.validateObject;\nvar encodeStr$1 = querystring$2.encodeStr;\nvar CHAR_BACKWARD_SLASH$1 = constants$1.CHAR_BACKWARD_SLASH,\n  CHAR_FORWARD_SLASH$1 = constants$1.CHAR_FORWARD_SLASH;\nvar path = path$1;\nvar URLSearchParams$1 = url_oh.URLSearchParams;\nvar encode = punycode.encode,\n  decode = punycode.decode;\nvar kFormat = Symbol(\"format\");\nvar URL$1 = /*#__PURE__*/function (_url_oh$URL) {\n  _inherits(URL, _url_oh$URL);\n  var _super = _createSuper(URL);\n  function URL(input) {\n    var _this;\n    var base = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;\n    _classCallCheck(this, URL);\n    if (base == undefined || base == null) {\n      _this = _super.call(this, input);\n    } else {\n      _this = _super.call(this, input, base);\n    }\n    return _possibleConstructorReturn(_this);\n  }\n  _createClass(URL, [{\n    key: kFormat,\n    value: function value(options) {\n      if (options) validateObject(options, \"options\");\n      options = _objectSpread2({\n        fragment: true,\n        unicode: false,\n        search: true,\n        auth: true\n      }, options);\n\n      // https://url.spec.whatwg.org/#url-serializing\n      var ret = this.protocol;\n      if (this.host !== null) {\n        this.host = domainToASCII$1(decodeURI(this.host));\n        ret += \"//\";\n        var has_username = this.username !== \"\";\n        var has_password = this.password !== \"\";\n        if (options.auth && (has_username || has_password)) {\n          if (has_username) ret += this.username;\n          if (has_password) ret += \":\".concat(this.password);\n          ret += \"@\";\n        }\n        ret += options.unicode ? domainToUnicode$1(this.host) : this.host;\n        if (this.port !== null && this.port.length > 0) ret += \":\".concat(this.port);\n      }\n      ret += this.pathname;\n      if (options.search && this.search !== null && this.search.length > 0) ret += \"\".concat(this.search);\n      if (options.fragment && this.hash !== null && this.hash.length > 0) ret += \"\".concat(this.hash);\n      return ret;\n    }\n  }], [{\n    key: \"createObjectURL\",\n    value: function createObjectURL(obj) {\n      //待实现\n    }\n  }, {\n    key: \"revokeObjectURL\",\n    value: function revokeObjectURL(url) {\n      //待实现\n    }\n  }]);\n  return URL;\n}(url_oh.URL);\nfunction domainToASCII$1(domain) {\n  if (typeof domain !== \"string\") {\n    return \"\";\n  }\n  if (domain.startsWith(\"xn--\") || domain.includes(\":\") || domain.includes(\"//\")) {\n    return \"\";\n  }\n  try {\n    var domainArray = domain.split(\".\");\n    var out = [];\n    for (var i = 0; i < domainArray.length; ++i) {\n      var s = domainArray[i];\n      out.push(s.match(/[^A-Za-z0-9-]/) ? \"xn--\" + encode(s) : s);\n    }\n    return out.join(\".\");\n  } catch (err) {\n    return \"\";\n  }\n}\nfunction domainToUnicode$1(domain) {\n  try {\n    var domainArray = domain.split(\".\");\n    var out = [];\n    for (var i = 0; i < domainArray.length; ++i) {\n      var s = domainArray[i];\n      out.push(s.match(/^xn--/) ? decode(s.slice(4)) : s);\n    }\n    return out.join(\".\");\n  } catch (err) {\n    return \"\";\n  }\n}\n\n// Utility function that converts a URL object into an ordinary\n// options object as expected by the http.request and https.request\n// APIs.\nfunction urlToHttpOptions$1(url) {\n  var options = {\n    protocol: url.protocol,\n    hostname: typeof url.hostname === \"string\" && StringPrototypeStartsWith(url.hostname, \"[\") ? StringPrototypeSlice(url.hostname, 1, -1) : url.hostname,\n    hash: url.hash,\n    search: url.search,\n    pathname: url.pathname,\n    path: \"\".concat(url.pathname || \"\").concat(url.search || \"\"),\n    href: url.href\n  };\n  if (url.port !== \"\") {\n    options.port = Number$1(url.port);\n  }\n  if (url.username || url.password) {\n    options.auth = \"\".concat(decodeURIComponent$2(url.username), \":\").concat(decodeURIComponent$2(url.password));\n  }\n  return options;\n}\nfunction getPathFromURLPosix(url) {\n  if (url.hostname !== \"\") {\n    throw new Error(\"\");\n  }\n  var pathname = url.pathname;\n  for (var n = 0; n < pathname.length; n++) {\n    if (pathname[n] === \"%\") {\n      var third = pathname.codePointAt(n + 2) | 0x20;\n      if (pathname[n + 1] === \"2\" && third === 102) {\n        throw new Error(\"must not include encoded / characters\");\n      }\n    }\n  }\n  return decodeURIComponent$2(pathname);\n}\nfunction fileURLToPath$1(path) {\n  if (typeof path === \"string\") path = new URL$1(path);else if (!isURLInstance(path)) throw new Error(\"ERR_INVALID_ARG_TYPE, path:\" + path);\n  if (path.protocol !== \"file:\") throw new Error(\"ERR_INVALID_URL_SCHEME, file\");\n  return getPathFromURLPosix(path);\n}\nvar backslashRegEx = /\\\\/g;\nvar newlineRegEx = /\\n/g;\nvar carriageReturnRegEx = /\\r/g;\nvar tabRegEx = /\\t/g;\nvar hashRegEx = /#/g;\nfunction encodePathChars(filepath) {\n  //    if (StringPrototypeIncludes(filepath, '%'))\n  //    filepath = StringPrototypeReplace(filepath, percentRegEx, '%25');\n  if (StringPrototypeIncludes(filepath, \"#\")) filepath = StringPrototypeReplace(filepath, hashRegEx, \"%23\");\n  // In posix, backslash is a valid character in paths:\n  if (StringPrototypeIncludes(filepath, \"\\\\\")) filepath = StringPrototypeReplace(filepath, backslashRegEx, \"%5C\");\n  if (StringPrototypeIncludes(filepath, \"\\n\")) filepath = StringPrototypeReplace(filepath, newlineRegEx, \"%0A\");\n  if (StringPrototypeIncludes(filepath, \"\\r\")) filepath = StringPrototypeReplace(filepath, carriageReturnRegEx, \"%0D\");\n  if (StringPrototypeIncludes(filepath, \"\\t\")) filepath = StringPrototypeReplace(filepath, tabRegEx, \"%09\");\n  return filepath;\n}\nfunction pathToFileURL$1(filepath) {\n  var outURL = new URL$1(\"file://\");\n  var resolved = path.resolve(filepath);\n  var filePathLast = StringPrototypeCharCodeAt$1(filepath, filepath.length - 1);\n  if ((filePathLast === CHAR_FORWARD_SLASH$1 || filePathLast === CHAR_BACKWARD_SLASH$1) && resolved[resolved.length - 1] !== path.sep) resolved += \"/\";\n  outURL.pathname = encodePathChars(resolved);\n  return outURL;\n}\nfunction isURLInstance(fileURLOrPath) {\n  return fileURLOrPath != null && fileURLOrPath.href && fileURLOrPath.origin;\n}\nfunction toPathIfFileURL(fileURLOrPath) {\n  if (!isURLInstance(fileURLOrPath)) return fileURLOrPath;\n  return fileURLToPath$1(fileURLOrPath);\n}\nvar url = {\n  fileURLToPath: fileURLToPath$1,\n  pathToFileURL: pathToFileURL$1,\n  toPathIfFileURL: toPathIfFileURL,\n  isURLInstance: isURLInstance,\n  URL: URL$1,\n  URLSearchParams: URLSearchParams$1,\n  domainToASCII: domainToASCII$1,\n  domainToUnicode: domainToUnicode$1,\n  urlToHttpOptions: urlToHttpOptions$1,\n  formatSymbol: kFormat,\n  encodeStr: encodeStr$1\n};\n\n// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nvar encodeStr = querystring$2.encodeStr,\n  hexTable = querystring$2.hexTable;\nvar querystring = querystringExports;\nvar Int8Array$1 = primordials.Int8Array,\n  ObjectCreate = primordials.ObjectCreate,\n  ObjectKeys = primordials.ObjectKeys,\n  SafeSet = primordials.SafeSet,\n  StringPrototypeCharCodeAt = primordials.StringPrototypeCharCodeAt,\n  decodeURIComponent$1 = primordials.decodeURIComponent;\nvar validateString = validator.validateString;\nvar URL = url.URL,\n  URLSearchParams = url.URLSearchParams,\n  domainToASCII = url.domainToASCII,\n  domainToUnicode = url.domainToUnicode,\n  fileURLToPath = url.fileURLToPath,\n  formatSymbol = url.formatSymbol,\n  pathToFileURL = url.pathToFileURL,\n  urlToHttpOptions = url.urlToHttpOptions;\nfunction Url() {\n  this.protocol = null;\n  this.slashes = null;\n  this.auth = null;\n  this.host = null;\n  this.port = null;\n  this.hostname = null;\n  this.hash = null;\n  this.search = null;\n  this.query = null;\n  this.pathname = null;\n  this.path = null;\n  this.href = null;\n}\nvar protocolPattern = /^[a-z0-9.+-]+:/i;\nvar portPattern = /:[0-9]*$/;\nvar hostPattern = /^\\/\\/[^@/]+@[^@/]+/;\n// Special case for a simple path URL\nvar simplePathPattern = /^(\\/\\/?(?!\\/)[^?\\s]*)(\\?[^\\s]*)?$/;\nvar hostnameMaxLen = 255;\n// Protocols that can allow \"unsafe\" and \"unwise\" chars.\nvar unsafeProtocol = new SafeSet([\"javascript\", \"javascript:\"]);\n// Protocols that never have a hostname.\nvar hostlessProtocol = new SafeSet([\"javascript\", \"javascript:\"]);\n// Protocols that always contain a // bit.\nvar slashedProtocol = new SafeSet([\"http\", \"http:\", \"https\", \"https:\", \"ftp\", \"ftp:\", \"gopher\", \"gopher:\", \"file\", \"file:\", \"ws\", \"ws:\", \"wss\", \"wss:\"]);\nvar CHAR_SPACE = constants$1.CHAR_SPACE,\n  CHAR_TAB = constants$1.CHAR_TAB,\n  CHAR_CARRIAGE_RETURN = constants$1.CHAR_CARRIAGE_RETURN,\n  CHAR_LINE_FEED = constants$1.CHAR_LINE_FEED,\n  CHAR_NO_BREAK_SPACE = constants$1.CHAR_NO_BREAK_SPACE,\n  CHAR_ZERO_WIDTH_NOBREAK_SPACE = constants$1.CHAR_ZERO_WIDTH_NOBREAK_SPACE,\n  CHAR_HASH = constants$1.CHAR_HASH,\n  CHAR_FORWARD_SLASH = constants$1.CHAR_FORWARD_SLASH,\n  CHAR_LEFT_SQUARE_BRACKET = constants$1.CHAR_LEFT_SQUARE_BRACKET,\n  CHAR_RIGHT_SQUARE_BRACKET = constants$1.CHAR_RIGHT_SQUARE_BRACKET,\n  CHAR_LEFT_ANGLE_BRACKET = constants$1.CHAR_LEFT_ANGLE_BRACKET,\n  CHAR_RIGHT_ANGLE_BRACKET = constants$1.CHAR_RIGHT_ANGLE_BRACKET,\n  CHAR_LEFT_CURLY_BRACKET = constants$1.CHAR_LEFT_CURLY_BRACKET,\n  CHAR_RIGHT_CURLY_BRACKET = constants$1.CHAR_RIGHT_CURLY_BRACKET,\n  CHAR_QUESTION_MARK = constants$1.CHAR_QUESTION_MARK,\n  CHAR_LOWERCASE_A = constants$1.CHAR_LOWERCASE_A,\n  CHAR_LOWERCASE_Z = constants$1.CHAR_LOWERCASE_Z,\n  CHAR_UPPERCASE_A = constants$1.CHAR_UPPERCASE_A,\n  CHAR_UPPERCASE_Z = constants$1.CHAR_UPPERCASE_Z,\n  CHAR_DOT = constants$1.CHAR_DOT,\n  CHAR_0 = constants$1.CHAR_0,\n  CHAR_9 = constants$1.CHAR_9,\n  CHAR_HYPHEN_MINUS = constants$1.CHAR_HYPHEN_MINUS,\n  CHAR_PLUS = constants$1.CHAR_PLUS,\n  CHAR_UNDERSCORE = constants$1.CHAR_UNDERSCORE,\n  CHAR_DOUBLE_QUOTE = constants$1.CHAR_DOUBLE_QUOTE,\n  CHAR_SINGLE_QUOTE = constants$1.CHAR_SINGLE_QUOTE,\n  CHAR_PERCENT = constants$1.CHAR_PERCENT,\n  CHAR_SEMICOLON = constants$1.CHAR_SEMICOLON,\n  CHAR_BACKWARD_SLASH = constants$1.CHAR_BACKWARD_SLASH,\n  CHAR_CIRCUMFLEX_ACCENT = constants$1.CHAR_CIRCUMFLEX_ACCENT,\n  CHAR_GRAVE_ACCENT = constants$1.CHAR_GRAVE_ACCENT,\n  CHAR_VERTICAL_LINE = constants$1.CHAR_VERTICAL_LINE,\n  CHAR_AT = constants$1.CHAR_AT;\nfunction urlParse(url, parseQueryString, slashesDenoteHost) {\n  if (url instanceof Url) return url;\n  var urlObject = new Url();\n  urlObject.parse(url, parseQueryString, slashesDenoteHost);\n  return urlObject;\n}\nfunction isIpv6Hostname(hostname) {\n  return StringPrototypeCharCodeAt(hostname, 0) === CHAR_LEFT_SQUARE_BRACKET && StringPrototypeCharCodeAt(hostname, hostname.length - 1) === CHAR_RIGHT_SQUARE_BRACKET;\n}\n\n// This prevents some common spoofing bugs due to our use of IDNA toASCII. For\n// compatibility, the set of characters we use here is the *intersection* of\n// \"forbidden host code point\" in the WHATWG URL Standard [1] and the\n// characters in the host parsing loop in Url.prototype.parse, with the\n// following additions:\n//\n// - ':' since this could cause a \"protocol spoofing\" bug\n// - '@' since this could cause parts of the hostname to be confused with auth\n// - '[' and ']' since this could cause a non-IPv6 hostname to be interpreted\n//   as IPv6 by isIpv6Hostname above\n//\n// [1]: https://url.spec.whatwg.org/#forbidden-host-code-point\nvar forbiddenHostChars = /[\\0\\t\\n\\r #%/:<>?@[\\\\\\]^|]/;\n// For IPv6, permit '[', ']', and ':'.\nvar forbiddenHostCharsIpv6 = /[\\0\\t\\n\\r #%/<>?@\\\\^|]/;\nUrl.prototype.parse = function parse(url, parseQueryString, slashesDenoteHost) {\n  validateString(url, \"url\");\n  var hasHash = false;\n  var hasAt = false;\n  var start = -1;\n  var end = -1;\n  var rest = \"\";\n  var lastPos = 0;\n  for (var i = 0, inWs = false, split = false; i < url.length; ++i) {\n    var code = url.charCodeAt(i);\n\n    // Find first and last non-whitespace characters for trimming\n    var isWs = code < 33 || code === CHAR_NO_BREAK_SPACE || code === CHAR_ZERO_WIDTH_NOBREAK_SPACE;\n    if (start === -1) {\n      if (isWs) continue;\n      lastPos = start = i;\n    } else if (inWs) {\n      if (!isWs) {\n        end = -1;\n        inWs = false;\n      }\n    } else if (isWs) {\n      end = i;\n      inWs = true;\n    }\n\n    // Only convert backslashes while we haven't seen a split character\n    if (!split) {\n      switch (code) {\n        case CHAR_AT:\n          hasAt = true;\n          break;\n        case CHAR_HASH:\n          hasHash = true;\n        // Fall through\n        case CHAR_QUESTION_MARK:\n          split = true;\n          break;\n        case CHAR_BACKWARD_SLASH:\n          if (i - lastPos > 0) rest += url.slice(lastPos, i);\n          rest += \"/\";\n          lastPos = i + 1;\n          break;\n      }\n    } else if (!hasHash && code === CHAR_HASH) {\n      hasHash = true;\n    }\n  }\n\n  // Check if string was non-empty (including strings with only whitespace)\n  if (start !== -1) {\n    if (lastPos === start) {\n      // We didn't convert any backslashes\n      if (end === -1) {\n        if (start === 0) rest = url;else rest = url.slice(start);\n      } else {\n        rest = url.slice(start, end);\n      }\n    } else if (end === -1 && lastPos < url.length) {\n      // We converted some backslashes and have only part of the entire string\n      rest += url.slice(lastPos);\n    } else if (end !== -1 && lastPos < end) {\n      // We converted some backslashes and have only part of the entire string\n      rest += url.slice(lastPos, end);\n    }\n  }\n  if (!slashesDenoteHost && !hasHash && !hasAt) {\n    // Try fast path regexp\n    var simplePath = simplePathPattern.exec(rest);\n    if (simplePath) {\n      this.path = rest;\n      this.href = rest;\n      this.pathname = simplePath[1];\n      if (simplePath[2]) {\n        this.search = simplePath[2];\n        if (parseQueryString) {\n          this.query = querystring.parse(this.search.slice(1));\n        } else {\n          this.query = this.search.slice(1);\n        }\n      } else if (parseQueryString) {\n        this.search = null;\n        this.query = ObjectCreate(null);\n      }\n      return this;\n    }\n  }\n  var proto = protocolPattern.exec(rest);\n  var lowerProto;\n  if (proto) {\n    proto = proto[0];\n    lowerProto = proto.toString().toLowerCase();\n    this.protocol = lowerProto;\n    rest = rest.slice(proto.length);\n  }\n\n  // Figure out if it's got a host\n  // user@server is *always* interpreted as a hostname, and url\n  // resolution will treat //foo/bar as host=foo,path=bar because that's\n  // how the browser resolves relative URLs.\n  var slashes;\n  if (slashesDenoteHost || proto || hostPattern.test(rest)) {\n    slashes = rest.charCodeAt(0) === CHAR_FORWARD_SLASH && rest.charCodeAt(1) === CHAR_FORWARD_SLASH;\n    if (slashes && !(proto && hostlessProtocol.has(lowerProto))) {\n      rest = rest.slice(2);\n      this.slashes = true;\n    }\n  }\n  if (!hostlessProtocol.has(lowerProto) && (slashes || proto && !slashedProtocol.has(proto))) {\n    var hostEnd = -1;\n    var atSign = -1;\n    var nonHost = -1;\n    for (var _i = 0; _i < rest.length; ++_i) {\n      switch (rest.charCodeAt(_i)) {\n        case CHAR_TAB:\n        case CHAR_LINE_FEED:\n        case CHAR_CARRIAGE_RETURN:\n        case CHAR_SPACE:\n        case CHAR_DOUBLE_QUOTE:\n        case CHAR_PERCENT:\n        case CHAR_SINGLE_QUOTE:\n        case CHAR_SEMICOLON:\n        case CHAR_LEFT_ANGLE_BRACKET:\n        case CHAR_RIGHT_ANGLE_BRACKET:\n        case CHAR_BACKWARD_SLASH:\n        case CHAR_CIRCUMFLEX_ACCENT:\n        case CHAR_GRAVE_ACCENT:\n        case CHAR_LEFT_CURLY_BRACKET:\n        case CHAR_VERTICAL_LINE:\n        case CHAR_RIGHT_CURLY_BRACKET:\n          // Characters that are never ever allowed in a hostname from RFC 2396\n          if (nonHost === -1) nonHost = _i;\n          break;\n        case CHAR_HASH:\n        case CHAR_FORWARD_SLASH:\n        case CHAR_QUESTION_MARK:\n          // Find the first instance of any host-ending characters\n          if (nonHost === -1) nonHost = _i;\n          hostEnd = _i;\n          break;\n        case CHAR_AT:\n          // At this point, either we have an explicit point where the\n          // auth portion cannot go past, or the last @ char is the decider.\n          atSign = _i;\n          nonHost = -1;\n          break;\n      }\n      if (hostEnd !== -1) break;\n    }\n    start = 0;\n    if (atSign !== -1) {\n      this.auth = decodeURIComponent$1(rest.slice(0, atSign));\n      start = atSign + 1;\n    }\n    if (nonHost === -1) {\n      this.host = rest.slice(start);\n      rest = \"\";\n    } else {\n      this.host = rest.slice(start, nonHost);\n      rest = rest.slice(nonHost);\n    }\n    this.parseHost();\n    if (typeof this.hostname !== \"string\") this.hostname = \"\";\n    var hostname = this.hostname;\n    var ipv6Hostname = isIpv6Hostname(hostname);\n    if (!ipv6Hostname) {\n      rest = getHostname(this, rest, hostname);\n    }\n    if (this.hostname.length > hostnameMaxLen) {\n      this.hostname = \"\";\n    } else {\n      this.hostname = this.hostname.toLowerCase();\n    }\n    if (this.hostname !== \"\") {\n      if (ipv6Hostname) {\n        if (forbiddenHostCharsIpv6.test(this.hostname)) {\n          throw new Error(url);\n        }\n      } else {\n        this.hostname = domainToASCII(this.hostname);\n        if (this.hostname === \"\" || forbiddenHostChars.test(this.hostname)) {\n          throw new Error(url);\n        }\n      }\n    }\n    var p = this.port ? \":\" + this.port : \"\";\n    var h = this.hostname || \"\";\n    this.host = h + p;\n    if (ipv6Hostname) {\n      this.hostname = this.hostname.slice(1, -1);\n      if (rest[0] !== \"/\") {\n        rest = \"/\" + rest;\n      }\n    }\n  }\n  if (!unsafeProtocol.has(lowerProto)) {\n    rest = autoEscapeStr(rest);\n  }\n  var questionIdx = -1;\n  var hashIdx = -1;\n  for (var _i2 = 0; _i2 < rest.length; ++_i2) {\n    var _code = rest.charCodeAt(_i2);\n    if (_code === CHAR_HASH) {\n      this.hash = rest.slice(_i2);\n      hashIdx = _i2;\n      break;\n    } else if (_code === CHAR_QUESTION_MARK && questionIdx === -1) {\n      questionIdx = _i2;\n    }\n  }\n  if (questionIdx !== -1) {\n    if (hashIdx === -1) {\n      this.search = rest.slice(questionIdx);\n      this.query = rest.slice(questionIdx + 1);\n    } else {\n      this.search = rest.slice(questionIdx, hashIdx);\n      this.query = rest.slice(questionIdx + 1, hashIdx);\n    }\n    if (parseQueryString) {\n      this.query = querystring.parse(this.query);\n    }\n  } else if (parseQueryString) {\n    this.search = null;\n    this.query = ObjectCreate(null);\n  }\n  var useQuestionIdx = questionIdx !== -1 && (hashIdx === -1 || questionIdx < hashIdx);\n  var firstIdx = useQuestionIdx ? questionIdx : hashIdx;\n  if (firstIdx === -1) {\n    if (rest.length > 0) this.pathname = rest;\n  } else if (firstIdx > 0) {\n    this.pathname = rest.slice(0, firstIdx);\n  }\n  if (slashedProtocol.has(lowerProto) && this.hostname && !this.pathname) {\n    this.pathname = \"/\";\n  }\n  if (this.pathname || this.search) {\n    var _p = this.pathname || \"\";\n    var s = this.search || \"\";\n    this.path = _p + s;\n  }\n  this.href = this.format();\n  return this;\n};\nfunction getHostname(self, rest, hostname) {\n  for (var i = 0; i < hostname.length; ++i) {\n    var code = hostname.charCodeAt(i);\n    var isValid = code >= CHAR_LOWERCASE_A && code <= CHAR_LOWERCASE_Z || code === CHAR_DOT || code >= CHAR_UPPERCASE_A && code <= CHAR_UPPERCASE_Z || code >= CHAR_0 && code <= CHAR_9 || code === CHAR_HYPHEN_MINUS || code === CHAR_PLUS || code === CHAR_UNDERSCORE || code > 127;\n\n    // Invalid host character\n    if (!isValid) {\n      self.hostname = hostname.slice(0, i);\n      return \"/\".concat(hostname.slice(i)).concat(rest);\n    }\n  }\n  return rest;\n}\n\n// Escaped characters. Use empty strings to fill up unused entries.\n// Using Array is faster than Object/Map\nvar escapedCodes = [/* 0 - 9 */\"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"%09\", /* 10 - 19 */\"%0A\", \"\", \"\", \"%0D\", \"\", \"\", \"\", \"\", \"\", \"\", /* 20 - 29 */\"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", /* 30 - 39 */\"\", \"\", \"%20\", \"\", \"%22\", \"\", \"\", \"\", \"\", \"%27\", /* 40 - 49 */\"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", /* 50 - 59 */\"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", /* 60 - 69 */\"%3C\", \"\", \"%3E\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", /* 70 - 79 */\"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", /* 80 - 89 */\"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", /* 90 - 99 */\"\", \"\", \"%5C\", \"\", \"%5E\", \"\", \"%60\", \"\", \"\", \"\", /* 100 - 109 */\"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", /* 110 - 119 */\"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", /* 120 - 125 */\"\", \"\", \"\", \"%7B\", \"%7C\", \"%7D\"];\nfunction autoEscapeStr(rest) {\n  var escaped = \"\";\n  var lastEscapedPos = 0;\n  for (var i = 0; i < rest.length; ++i) {\n    // `escaped` contains substring up to the last escaped character.\n    var escapedChar = escapedCodes[rest.charCodeAt(i)];\n    if (escapedChar) {\n      // Concat if there are ordinary characters in the middle.\n      if (i > lastEscapedPos) escaped += rest.slice(lastEscapedPos, i);\n      escaped += escapedChar;\n      lastEscapedPos = i + 1;\n    }\n  }\n  if (lastEscapedPos === 0)\n    // Nothing has been escaped.\n    return rest;\n\n  // There are ordinary characters at the end.\n  if (lastEscapedPos < rest.length) escaped += rest.slice(lastEscapedPos);\n  return escaped;\n}\nfunction urlFormat(urlObject, options) {\n  if (typeof urlObject === \"string\") {\n    urlObject = urlParse(urlObject);\n  } else if (_typeof(urlObject) !== \"object\" || urlObject === null) {\n    throw new Error(\"ERR_INVALID_ARG_TYPE, urlObject:\" + urlObject);\n  } else if (!(urlObject instanceof Url)) {\n    var _format = urlObject[formatSymbol];\n    return _format ? _format.call(urlObject, options) : Url.prototype.format.call(urlObject);\n  }\n  return urlObject.format();\n}\n\n// These characters do not need escaping:\n// ! - . _ ~\n// ' ( ) * :\n// digits\n// alpha (uppercase)\n// alpha (lowercase)\nvar noEscapeAuth = new Int8Array$1([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n// 0x00 - 0x0F\n0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n// 0x10 - 0x1F\n0, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0,\n// 0x20 - 0x2F\n1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0,\n// 0x30 - 0x3F\n0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,\n// 0x40 - 0x4F\n1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1,\n// 0x50 - 0x5F\n0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,\n// 0x60 - 0x6F\n1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0 // 0x70 - 0x7F\n]);\n\nUrl.prototype.format = function format() {\n  var auth = this.auth || \"\";\n  if (auth) {\n    auth = encodeStr(auth, noEscapeAuth, hexTable);\n    auth += \"@\";\n  }\n  var protocol = this.protocol || \"\";\n  var pathname = this.pathname || \"\";\n  var hash = this.hash || \"\";\n  var host = \"\";\n  var query = \"\";\n  if (this.host) {\n    host = auth + this.host;\n  } else if (this.hostname) {\n    host = auth + (this.hostname.includes(\":\") && !isIpv6Hostname(this.hostname) ? \"[\" + this.hostname + \"]\" : this.hostname);\n    if (this.port) {\n      host += \":\" + this.port;\n    }\n  }\n  if (this.query !== null && _typeof(this.query) === \"object\") {\n    query = querystring.stringify(this.query);\n  }\n  var search = this.search || query && \"?\" + query || \"\";\n  if (protocol && protocol.charCodeAt(protocol.length - 1) !== 58 /* : */) protocol += \":\";\n  var newPathname = \"\";\n  var lastPos = 0;\n  for (var i = 0; i < pathname.length; ++i) {\n    switch (pathname.charCodeAt(i)) {\n      case CHAR_HASH:\n        if (i - lastPos > 0) newPathname += pathname.slice(lastPos, i);\n        newPathname += \"%23\";\n        lastPos = i + 1;\n        break;\n      case CHAR_QUESTION_MARK:\n        if (i - lastPos > 0) newPathname += pathname.slice(lastPos, i);\n        newPathname += \"%3F\";\n        lastPos = i + 1;\n        break;\n    }\n  }\n  if (lastPos > 0) {\n    if (lastPos !== pathname.length) pathname = newPathname + pathname.slice(lastPos);else pathname = newPathname;\n  }\n\n  // Only the slashedProtocols get the //.  Not mailto:, xmpp:, etc.\n  // unless they had them to begin with.\n  if (this.slashes || slashedProtocol.has(protocol)) {\n    if (this.slashes || host) {\n      if (pathname && pathname.charCodeAt(0) !== CHAR_FORWARD_SLASH) pathname = \"/\" + pathname;\n      host = \"//\" + host;\n    } else if (protocol.length >= 4 && protocol.charCodeAt(0) === 102 /* f */ && protocol.charCodeAt(1) === 105 /* i */ && protocol.charCodeAt(2) === 108 /* l */ && protocol.charCodeAt(3) === 101 /* e */) {\n      host = \"//\";\n    }\n  }\n  search = search.replace(/#/g, \"%23\");\n  if (hash && hash.charCodeAt(0) !== CHAR_HASH) hash = \"#\" + hash;\n  if (search && search.charCodeAt(0) !== CHAR_QUESTION_MARK) search = \"?\" + search;\n  return protocol + host + pathname + search + hash;\n};\nfunction urlResolve(source, relative) {\n  return urlParse(source, false, true).resolve(relative);\n}\nUrl.prototype.resolve = function resolve(relative) {\n  return this.resolveObject(urlParse(relative, false, true)).format();\n};\nfunction urlResolveObject(source, relative) {\n  if (!source) return relative;\n  return urlParse(source, false, true).resolveObject(relative);\n}\nUrl.prototype.resolveObject = function resolveObject(relative) {\n  if (typeof relative === \"string\") {\n    var rel = new Url();\n    rel.parse(relative, false, true);\n    relative = rel;\n  }\n  var result = new Url();\n  var tkeys = ObjectKeys(this);\n  for (var tk = 0; tk < tkeys.length; tk++) {\n    var tkey = tkeys[tk];\n    result[tkey] = this[tkey];\n  }\n\n  // Hash is always overridden, no matter what.\n  // even href=\"\" will remove it.\n  result.hash = relative.hash;\n\n  // If the relative url is empty, then there's nothing left to do here.\n  if (relative.href === \"\") {\n    result.href = result.format();\n    return result;\n  }\n\n  // Hrefs like //foo/bar always cut to the protocol.\n  if (relative.slashes && !relative.protocol) {\n    // Take everything except the protocol from relative\n    var rkeys = ObjectKeys(relative);\n    for (var rk = 0; rk < rkeys.length; rk++) {\n      var rkey = rkeys[rk];\n      if (rkey !== \"protocol\") result[rkey] = relative[rkey];\n    }\n\n    // urlParse appends trailing / to urls like http://www.example.com\n    if (slashedProtocol.has(result.protocol) && result.hostname && !result.pathname) {\n      result.path = result.pathname = \"/\";\n    }\n    result.href = result.format();\n    return result;\n  }\n  if (relative.protocol && relative.protocol !== result.protocol) {\n    // If it's a known url protocol, then changing\n    // the protocol does weird things\n    // first, if it's not file:, then we MUST have a host,\n    // and if there was a path\n    // to begin with, then we MUST have a path.\n    // if it is file:, then the host is dropped,\n    // because that's known to be hostless.\n    // anything else is assumed to be absolute.\n    if (!slashedProtocol.has(relative.protocol)) {\n      var keys = ObjectKeys(relative);\n      for (var v = 0; v < keys.length; v++) {\n        var k = keys[v];\n        result[k] = relative[k];\n      }\n      result.href = result.format();\n      return result;\n    }\n    result.protocol = relative.protocol;\n    if (!relative.host && !/^file:?$/.test(relative.protocol) && !hostlessProtocol.has(relative.protocol)) {\n      var _relPath = (relative.pathname || \"\").split(\"/\");\n      while (_relPath.length && !(relative.host = _relPath.shift()));\n      if (!relative.host) relative.host = \"\";\n      if (!relative.hostname) relative.hostname = \"\";\n      if (_relPath[0] !== \"\") _relPath.unshift(\"\");\n      if (_relPath.length < 2) _relPath.unshift(\"\");\n      result.pathname = _relPath.join(\"/\");\n    } else {\n      result.pathname = relative.pathname;\n    }\n    result.search = relative.search;\n    result.query = relative.query;\n    result.host = relative.host || \"\";\n    result.auth = relative.auth;\n    result.hostname = relative.hostname || relative.host;\n    result.port = relative.port;\n    // To support http.request\n    if (result.pathname || result.search) {\n      var p = result.pathname || \"\";\n      var s = result.search || \"\";\n      result.path = p + s;\n    }\n    result.slashes = result.slashes || relative.slashes;\n    result.href = result.format();\n    return result;\n  }\n  var isSourceAbs = result.pathname && result.pathname.charAt(0) === \"/\";\n  var isRelAbs = relative.host || relative.pathname && relative.pathname.charAt(0) === \"/\";\n  var mustEndAbs = isRelAbs || isSourceAbs || result.host && relative.pathname;\n  var removeAllDots = mustEndAbs;\n  var srcPath = result.pathname && result.pathname.split(\"/\") || [];\n  var relPath = relative.pathname && relative.pathname.split(\"/\") || [];\n  var noLeadingSlashes = result.protocol && !slashedProtocol.has(result.protocol);\n  if (noLeadingSlashes) {\n    result.hostname = \"\";\n    result.port = null;\n    if (result.host) {\n      if (srcPath[0] === \"\") srcPath[0] = result.host;else srcPath.unshift(result.host);\n    }\n    result.host = \"\";\n    if (relative.protocol) {\n      relative.hostname = null;\n      relative.port = null;\n      result.auth = null;\n      if (relative.host) {\n        if (relPath[0] === \"\") relPath[0] = relative.host;else relPath.unshift(relative.host);\n      }\n      relative.host = null;\n    }\n    mustEndAbs = mustEndAbs && (relPath[0] === \"\" || srcPath[0] === \"\");\n  }\n  if (isRelAbs) {\n    // it's absolute.\n    if (relative.host || relative.host === \"\") {\n      if (result.host !== relative.host) result.auth = null;\n      result.host = relative.host;\n      result.port = relative.port;\n    }\n    if (relative.hostname || relative.hostname === \"\") {\n      if (result.hostname !== relative.hostname) result.auth = null;\n      result.hostname = relative.hostname;\n    }\n    result.search = relative.search;\n    result.query = relative.query;\n    srcPath = relPath;\n    // Fall through to the dot-handling below.\n  } else if (relPath.length) {\n    // it's relative\n    // throw away the existing file, and take the new path instead.\n    if (!srcPath) srcPath = [];\n    srcPath.pop();\n    srcPath = srcPath.concat(relPath);\n    result.search = relative.search;\n    result.query = relative.query;\n  } else if (relative.search !== null && relative.search !== undefined) {\n    // Just pull out the search.\n    // like href='?foo'.\n    // Put this after the other two cases because it simplifies the booleans\n    if (noLeadingSlashes) {\n      result.hostname = result.host = srcPath.shift();\n      // Occasionally the auth can get stuck only in host.\n      // This especially happens in cases like\n      // url.resolveObject('mailto:local1@domain1', 'local2@domain2')\n      var authInHost = result.host && result.host.indexOf(\"@\") > 0 && result.host.split(\"@\");\n      if (authInHost) {\n        result.auth = authInHost.shift();\n        result.host = result.hostname = authInHost.shift();\n      }\n    }\n    result.search = relative.search;\n    result.query = relative.query;\n    // To support http.request\n    if (result.pathname !== null || result.search !== null) {\n      result.path = (result.pathname ? result.pathname : \"\") + (result.search ? result.search : \"\");\n    }\n    result.href = result.format();\n    return result;\n  }\n  if (!srcPath.length) {\n    // No path at all. All other things were already handled above.\n    result.pathname = null;\n    // To support http.request\n    if (result.search) {\n      result.path = \"/\" + result.search;\n    } else {\n      result.path = null;\n    }\n    result.href = result.format();\n    return result;\n  }\n\n  // If a url ENDs in . or .., then it must get a trailing slash.\n  // however, if it ends in anything else non-slashy,\n  // then it must NOT get a trailing slash.\n  var last = srcPath.slice(-1)[0];\n  var hasTrailingSlash = (result.host || relative.host || srcPath.length > 1) && (last === \".\" || last === \"..\") || last === \"\";\n\n  // Strip single dots, resolve double dots to parent dir\n  // if the path tries to go above the root, `up` ends up > 0\n  var up = 0;\n  for (var i = srcPath.length - 1; i >= 0; i--) {\n    last = srcPath[i];\n    if (last === \".\") {\n      spliceOne(srcPath, i);\n    } else if (last === \"..\") {\n      spliceOne(srcPath, i);\n      up++;\n    } else if (up) {\n      spliceOne(srcPath, i);\n      up--;\n    }\n  }\n\n  // If the path is allowed to go above the root, restore leading ..s\n  if (!mustEndAbs && !removeAllDots) {\n    while (up--) {\n      srcPath.unshift(\"..\");\n    }\n  }\n  if (mustEndAbs && srcPath[0] !== \"\" && (!srcPath[0] || srcPath[0].charAt(0) !== \"/\")) {\n    srcPath.unshift(\"\");\n  }\n  if (hasTrailingSlash && srcPath.join(\"/\").substr(-1) !== \"/\") {\n    srcPath.push(\"\");\n  }\n  var isAbsolute = srcPath[0] === \"\" || srcPath[0] && srcPath[0].charAt(0) === \"/\";\n\n  // put the host back\n  if (noLeadingSlashes) {\n    result.hostname = result.host = isAbsolute ? \"\" : srcPath.length ? srcPath.shift() : \"\";\n    // Occasionally the auth can get stuck only in host.\n    // This especially happens in cases like\n    // url.resolveObject('mailto:local1@domain1', 'local2@domain2')\n    var _authInHost = result.host && result.host.indexOf(\"@\") > 0 ? result.host.split(\"@\") : false;\n    if (_authInHost) {\n      result.auth = _authInHost.shift();\n      result.host = result.hostname = _authInHost.shift();\n    }\n  }\n  mustEndAbs = mustEndAbs || result.host && srcPath.length;\n  if (mustEndAbs && !isAbsolute) {\n    srcPath.unshift(\"\");\n  }\n  if (!srcPath.length) {\n    result.pathname = null;\n    result.path = null;\n  } else {\n    result.pathname = srcPath.join(\"/\");\n  }\n\n  // To support request.http\n  if (result.pathname !== null || result.search !== null) {\n    result.path = (result.pathname ? result.pathname : \"\") + (result.search ? result.search : \"\");\n  }\n  result.auth = relative.auth || result.auth;\n  result.slashes = result.slashes || relative.slashes;\n  result.href = result.format();\n  return result;\n};\nUrl.prototype.parseHost = function parseHost() {\n  var host = this.host;\n  var port = portPattern.exec(host);\n  if (port) {\n    port = port[0];\n    if (port.toString() !== \":\") {\n      this.port = port.slice(1);\n    }\n    host = host.slice(0, host.length - port.length);\n  }\n  if (host) this.hostname = host;\n};\nfunction spliceOne(list, index) {\n  for (; index + 1 < list.length; index++) list[index] = list[index + 1];\n  list.pop();\n}\nvar Url_1 = url$1.Url = URL;\nvar parse = url$1.parse = urlParse;\nvar resolve = url$1.resolve = urlResolve;\nvar resolveObject = url$1.resolveObject = urlResolveObject;\nvar format = url$1.format = urlFormat;\nvar URL_1 = url$1.URL = URL;\nvar URLSearchParams_1 = url$1.URLSearchParams = URLSearchParams;\nvar domainToASCII_1 = url$1.domainToASCII = domainToASCII;\nvar domainToUnicode_1 = url$1.domainToUnicode = domainToUnicode;\nvar fileURLToPath_1 = url$1.fileURLToPath = fileURLToPath;\nvar pathToFileURL_1 = url$1.pathToFileURL = pathToFileURL;\nvar urlToHttpOptions_1 = url$1.urlToHttpOptions = urlToHttpOptions;\n\nexport { URL_1 as URL, URLSearchParams_1 as URLSearchParams, Url_1 as Url, url$1 as default, domainToASCII_1 as domainToASCII, domainToUnicode_1 as domainToUnicode, fileURLToPath_1 as fileURLToPath, format, parse, pathToFileURL_1 as pathToFileURL, resolve, resolveObject, urlToHttpOptions_1 as urlToHttpOptions };\n","timers.js":"function getDefaultExportFromCjs (x) {\n\treturn x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;\n}\n\nfunction setImmediate(params, time) {\n  time = time == undefined ? 0 : time;\n  setTimeout(params, time);\n}\nvar timers = {\n  setImmediate: setImmediate\n};\nvar index = /*@__PURE__*/getDefaultExportFromCjs(timers);\n\nexport { index as default };\n","string_decoder.js":"import require$$0 from 'buffer';\n\nvar string_decoder = {};\n\n/*<replacement>*/\n\n// var Buffer = require(\"safe-buffer\").Buffer;\nvar Buffer = require$$0.Buffer;\n/*</replacement>*/\n\nvar isEncoding = Buffer.isEncoding || function (encoding) {\n  encoding = \"\" + encoding;\n  switch (encoding && encoding.toLowerCase()) {\n    case \"hex\":\n    case \"utf8\":\n    case \"utf-8\":\n    case \"ascii\":\n    case \"binary\":\n    case \"base64\":\n    case \"ucs2\":\n    case \"ucs-2\":\n    case \"utf16le\":\n    case \"utf-16le\":\n    case \"raw\":\n      return true;\n    default:\n      return false;\n  }\n};\nfunction _normalizeEncoding(enc) {\n  if (!enc) return \"utf8\";\n  var retried;\n  while (true) {\n    switch (enc) {\n      case \"utf8\":\n      case \"utf-8\":\n        return \"utf8\";\n      case \"ucs2\":\n      case \"ucs-2\":\n      case \"utf16le\":\n      case \"utf-16le\":\n        return \"utf16le\";\n      case \"latin1\":\n      case \"binary\":\n        return \"latin1\";\n      case \"base64\":\n      case \"ascii\":\n      case \"hex\":\n        return enc;\n      default:\n        if (retried) return; // undefined\n        enc = (\"\" + enc).toLowerCase();\n        retried = true;\n    }\n  }\n}\n\n// Do not cache `Buffer.isEncoding` when checking encoding names as some\n// modules monkey-patch it to support additional encodings\nfunction normalizeEncoding(enc) {\n  var nenc = _normalizeEncoding(enc);\n  if (typeof nenc !== \"string\" && (Buffer.isEncoding === isEncoding || !isEncoding(enc))) throw new Error(\"Unknown encoding: \" + enc);\n  return nenc || enc;\n}\n\n// StringDecoder provides an interface for efficiently splitting a series of\n// buffers into a series of JS strings without breaking apart multi-byte\n// characters.\nvar StringDecoder_1 = string_decoder.StringDecoder = StringDecoder;\nfunction StringDecoder(encoding) {\n  this.encoding = normalizeEncoding(encoding);\n  var nb;\n  switch (this.encoding) {\n    case \"utf16le\":\n      this.text = utf16Text;\n      this.end = utf16End;\n      nb = 4;\n      break;\n    case \"utf8\":\n      this.fillLast = utf8FillLast;\n      nb = 4;\n      break;\n    case \"base64\":\n      this.text = base64Text;\n      this.end = base64End;\n      nb = 3;\n      break;\n    default:\n      this.write = simpleWrite;\n      this.end = simpleEnd;\n      return;\n  }\n  this.lastNeed = 0;\n  this.lastTotal = 0;\n  this.lastChar = Buffer.allocUnsafe(nb);\n}\nStringDecoder.prototype.write = function (buf) {\n  if (buf.length === 0) return \"\";\n  var r;\n  var i;\n  if (this.lastNeed) {\n    r = this.fillLast(buf);\n    if (r === undefined) return \"\";\n    i = this.lastNeed;\n    this.lastNeed = 0;\n  } else {\n    i = 0;\n  }\n  if (i < buf.length) return r ? r + this.text(buf, i) : this.text(buf, i);\n  return r || \"\";\n};\nStringDecoder.prototype.end = utf8End;\n\n// Returns only complete characters in a Buffer\nStringDecoder.prototype.text = utf8Text;\n\n// Attempts to complete a partial non-UTF-8 character using bytes from a Buffer\nStringDecoder.prototype.fillLast = function (buf) {\n  if (this.lastNeed <= buf.length) {\n    buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed);\n    return this.lastChar.toString(this.encoding, 0, this.lastTotal);\n  }\n  buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, buf.length);\n  this.lastNeed -= buf.length;\n};\n\n// Checks the type of a UTF-8 byte, whether it's ASCII, a leading byte, or a\n// continuation byte. If an invalid byte is detected, -2 is returned.\nfunction utf8CheckByte(_byte) {\n  if (_byte <= 0x7f) return 0;else if (_byte >> 5 === 0x06) return 2;else if (_byte >> 4 === 0x0e) return 3;else if (_byte >> 3 === 0x1e) return 4;\n  return _byte >> 6 === 0x02 ? -1 : -2;\n}\n\n// Checks at most 3 bytes at the end of a Buffer in order to detect an\n// incomplete multi-byte UTF-8 character. The total number of bytes (2, 3, or 4)\n// needed to complete the UTF-8 character (if applicable) are returned.\nfunction utf8CheckIncomplete(self, buf, i) {\n  var j = buf.length - 1;\n  if (j < i) return 0;\n  var nb = utf8CheckByte(buf[j]);\n  if (nb >= 0) {\n    if (nb > 0) self.lastNeed = nb - 1;\n    return nb;\n  }\n  if (--j < i || nb === -2) return 0;\n  nb = utf8CheckByte(buf[j]);\n  if (nb >= 0) {\n    if (nb > 0) self.lastNeed = nb - 2;\n    return nb;\n  }\n  if (--j < i || nb === -2) return 0;\n  nb = utf8CheckByte(buf[j]);\n  if (nb >= 0) {\n    if (nb > 0) {\n      if (nb === 2) nb = 0;else self.lastNeed = nb - 3;\n    }\n    return nb;\n  }\n  return 0;\n}\n\n// Validates as many continuation bytes for a multi-byte UTF-8 character as\n// needed or are available. If we see a non-continuation byte where we expect\n// one, we \"replace\" the validated continuation bytes we've seen so far with\n// a single UTF-8 replacement character ('\\ufffd'), to match v8's UTF-8 decoding\n// behavior. The continuation byte check is included three times in the case\n// where all of the continuation bytes for a character exist in the same buffer.\n// It is also done this way as a slight performance increase instead of using a\n// loop.\nfunction utf8CheckExtraBytes(self, buf, p) {\n  if ((buf[0] & 0xc0) !== 0x80) {\n    self.lastNeed = 0;\n    return \"\\uFFFD\";\n  }\n  if (self.lastNeed > 1 && buf.length > 1) {\n    if ((buf[1] & 0xc0) !== 0x80) {\n      self.lastNeed = 1;\n      return \"\\uFFFD\";\n    }\n    if (self.lastNeed > 2 && buf.length > 2) {\n      if ((buf[2] & 0xc0) !== 0x80) {\n        self.lastNeed = 2;\n        return \"\\uFFFD\";\n      }\n    }\n  }\n}\n\n// Attempts to complete a multi-byte UTF-8 character using bytes from a Buffer.\nfunction utf8FillLast(buf) {\n  var p = this.lastTotal - this.lastNeed;\n  var r = utf8CheckExtraBytes(this, buf);\n  if (r !== undefined) return r;\n  if (this.lastNeed <= buf.length) {\n    buf.copy(this.lastChar, p, 0, this.lastNeed);\n    return this.lastChar.toString(this.encoding, 0, this.lastTotal);\n  }\n  buf.copy(this.lastChar, p, 0, buf.length);\n  this.lastNeed -= buf.length;\n}\n\n// Returns all complete UTF-8 characters in a Buffer. If the Buffer ended on a\n// partial character, the character's bytes are buffered until the required\n// number of bytes are available.\nfunction utf8Text(buf, i) {\n  var total = utf8CheckIncomplete(this, buf, i);\n  if (!this.lastNeed) return buf.toString(\"utf8\", i);\n  this.lastTotal = total;\n  var end = buf.length - (total - this.lastNeed);\n  buf.copy(this.lastChar, 0, end);\n  return buf.toString(\"utf8\", i, end);\n}\n\n// For UTF-8, a replacement character is added when ending on a partial\n// character.\nfunction utf8End(buf) {\n  var r = buf && buf.length ? this.write(buf) : \"\";\n  if (this.lastNeed) return r + \"\\uFFFD\";\n  return r;\n}\n\n// UTF-16LE typically needs two bytes per character, but even if we have an even\n// number of bytes available, we need to check if we end on a leading/high\n// surrogate. In that case, we need to wait for the next two bytes in order to\n// decode the last character properly.\nfunction utf16Text(buf, i) {\n  if ((buf.length - i) % 2 === 0) {\n    var r = buf.toString(\"utf16le\", i);\n    if (r) {\n      var c = r.charCodeAt(r.length - 1);\n      if (c >= 0xd800 && c <= 0xdbff) {\n        this.lastNeed = 2;\n        this.lastTotal = 4;\n        this.lastChar[0] = buf[buf.length - 2];\n        this.lastChar[1] = buf[buf.length - 1];\n        return r.slice(0, -1);\n      }\n    }\n    return r;\n  }\n  this.lastNeed = 1;\n  this.lastTotal = 2;\n  this.lastChar[0] = buf[buf.length - 1];\n  return buf.toString(\"utf16le\", i, buf.length - 1);\n}\n\n// For UTF-16LE we do not explicitly append special replacement characters if we\n// end on a partial character, we simply let v8 handle that.\nfunction utf16End(buf) {\n  var r = buf && buf.length ? this.write(buf) : \"\";\n  if (this.lastNeed) {\n    var end = this.lastTotal - this.lastNeed;\n    return r + this.lastChar.toString(\"utf16le\", 0, end);\n  }\n  return r;\n}\nfunction base64Text(buf, i) {\n  var n = (buf.length - i) % 3;\n  if (n === 0) return buf.toString(\"base64\", i);\n  this.lastNeed = 3 - n;\n  this.lastTotal = 3;\n  if (n === 1) {\n    this.lastChar[0] = buf[buf.length - 1];\n  } else {\n    this.lastChar[0] = buf[buf.length - 2];\n    this.lastChar[1] = buf[buf.length - 1];\n  }\n  return buf.toString(\"base64\", i, buf.length - n);\n}\nfunction base64End(buf) {\n  var r = buf && buf.length ? this.write(buf) : \"\";\n  if (this.lastNeed) return r + this.lastChar.toString(\"base64\", 0, 3 - this.lastNeed);\n  return r;\n}\n\n// Pass bytes on through for single-byte encodings (e.g. ascii, latin1, hex)\nfunction simpleWrite(buf) {\n  return buf.toString(this.encoding);\n}\nfunction simpleEnd(buf) {\n  return buf && buf.length ? this.write(buf) : \"\";\n}\n\nexport { StringDecoder_1 as StringDecoder, string_decoder as default };\n","stream.js":"import*as e from\"buffer\";import*as t from\"events\";import*as n from\"process\";import*as r from\"string_decoder\";var o={920:(e,t,n)=>{const{AbortError:r,codes:o}=n(994),i=n(355),{ERR_INVALID_ARG_TYPE:a}=o;e.exports.addAbortSignal=function(t,n){if(((e,t)=>{if(\"object\"!=typeof e||!(\"aborted\"in e))throw new a(\"signal\",\"AbortSignal\",e)})(t),!(r=n)||\"function\"!=typeof r.pipe)throw new a(\"stream\",\"stream.Stream\",n);var r;return e.exports.addAbortSignalNoValidate(t,n)},e.exports.addAbortSignalNoValidate=function(e,t){if(\"object\"!=typeof e||!(\"aborted\"in e))return t;const n=()=>{t.destroy(new r(void 0,{cause:e.reason}))};return e.aborted?n():(e.addEventListener(\"abort\",n),i(t,(()=>e.removeEventListener(\"abort\",n)))),t}},340:(e,t,n)=>{const{StringPrototypeSlice:r,SymbolIterator:o,TypedArrayPrototypeSet:i,Uint8Array:a}=n(557),{Buffer:l}=n(368),{inspect:s}=n(501);e.exports=class{constructor(){this.head=null,this.tail=null,this.length=0}push(e){const t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}unshift(e){const t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}shift(){if(0===this.length)return;const e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}clear(){this.head=this.tail=null,this.length=0}join(e){if(0===this.length)return\"\";let t=this.head,n=\"\"+t.data;for(;null!==(t=t.next);)n+=e+t.data;return n}concat(e){if(0===this.length)return l.alloc(0);const t=l.allocUnsafe(e>>>0);let n=this.head,r=0;for(;n;)i(t,n.data,r),r+=n.data.length,n=n.next;return t}consume(e,t){const n=this.head.data;if(e<n.length){const t=n.slice(0,e);return this.head.data=n.slice(e),t}return e===n.length?this.shift():t?this._getString(e):this._getBuffer(e)}first(){return this.head.data}*[o](){for(let e=this.head;e;e=e.next)yield e.data}_getString(e){let t=\"\",n=this.head,o=0;do{const i=n.data;if(!(e>i.length)){e===i.length?(t+=i,++o,n.next?this.head=n.next:this.head=this.tail=null):(t+=r(i,0,e),this.head=n,n.data=r(i,e));break}t+=i,e-=i.length,++o}while(null!==(n=n.next));return this.length-=o,t}_getBuffer(e){const t=l.allocUnsafe(e),n=e;let r=this.head,o=0;do{const l=r.data;if(!(e>l.length)){e===l.length?(i(t,l,n-e),++o,r.next?this.head=r.next:this.head=this.tail=null):(i(t,new a(l.buffer,l.byteOffset,e),n-e),this.head=r,r.data=l.slice(e));break}i(t,l,n-e),e-=l.length,++o}while(null!==(r=r.next));return this.length-=o,t}[Symbol.for(\"nodejs.util.inspect.custom\")](e,t){return s(this,{...t,depth:0,customInspect:!1})}}},262:(e,t,n)=>{const{pipeline:r}=n(792),o=n(438),{destroyer:i}=n(701),{isNodeStream:a,isReadable:l,isWritable:s}=n(433),{AbortError:u,codes:{ERR_INVALID_ARG_VALUE:d,ERR_MISSING_ARGS:c}}=n(994);e.exports=function(...e){if(0===e.length)throw new c(\"streams\");if(1===e.length)return o.from(e[0]);const t=[...e];if(\"function\"==typeof e[0]&&(e[0]=o.from(e[0])),\"function\"==typeof e[e.length-1]){const t=e.length-1;e[t]=o.from(e[t])}for(let n=0;n<e.length;++n)if(a(e[n])){if(n<e.length-1&&!l(e[n]))throw new d(`streams[${n}]`,t[n],\"must be readable\");if(n>0&&!s(e[n]))throw new d(`streams[${n}]`,t[n],\"must be writable\")}let n,f,b,h,p;const y=e[0],g=r(e,(function(e){const t=h;h=null,t?t(e):e?p.destroy(e):w||_||p.destroy()})),_=!!s(y),w=!!l(g);return p=new o({writableObjectMode:!(null==y||!y.writableObjectMode),readableObjectMode:!(null==g||!g.writableObjectMode),writable:_,readable:w}),_&&(p._write=function(e,t,r){y.write(e,t)?r():n=r},p._final=function(e){y.end(),f=e},y.on(\"drain\",(function(){if(n){const e=n;n=null,e()}})),g.on(\"finish\",(function(){if(f){const e=f;f=null,e()}}))),w&&(g.on(\"readable\",(function(){if(b){const e=b;b=null,e()}})),g.on(\"end\",(function(){p.push(null)})),p._read=function(){for(;;){const e=g.read();if(null===e)return void(b=p._read);if(!p.push(e))return}}),p._destroy=function(e,t){e||null===h||(e=new u),b=null,n=null,f=null,null===h?t(e):(h=t,i(g,e))},p}},701:(e,t,n)=>{const r=n(394),{aggregateTwoErrors:o,codes:{ERR_MULTIPLE_CALLBACK:i},AbortError:a}=n(994),{Symbol:l}=n(557),{kDestroyed:s,isDestroyed:u,isFinished:d,isServerRequest:c}=n(433),f=l(\"kDestroy\"),b=l(\"kConstruct\");function h(e,t,n){e&&(e.stack,t&&!t.errored&&(t.errored=e),n&&!n.errored&&(n.errored=e))}function p(e,t,n){let o=!1;function i(t){if(o)return;o=!0;const i=e._readableState,a=e._writableState;h(t,a,i),a&&(a.closed=!0),i&&(i.closed=!0),\"function\"==typeof n&&n(t),t?r.nextTick(y,e,t):r.nextTick(g,e)}try{e._destroy(t||null,i)}catch(t){i(t)}}function y(e,t){_(e,t),g(e)}function g(e){const t=e._readableState,n=e._writableState;n&&(n.closeEmitted=!0),t&&(t.closeEmitted=!0),(n&&n.emitClose||t&&t.emitClose)&&e.emit(\"close\")}function _(e,t){const n=e._readableState,r=e._writableState;r&&r.errorEmitted||n&&n.errorEmitted||(r&&(r.errorEmitted=!0),n&&(n.errorEmitted=!0),e.emit(\"error\",t))}function w(e,t,n){const o=e._readableState,i=e._writableState;if(i&&i.destroyed||o&&o.destroyed)return this;o&&o.autoDestroy||i&&i.autoDestroy?e.destroy(t):t&&(t.stack,i&&!i.errored&&(i.errored=t),o&&!o.errored&&(o.errored=t),n?r.nextTick(_,e,t):_(e,t))}function m(e){let t=!1;function n(n){if(t)return void w(e,null!=n?n:new i);t=!0;const o=e._readableState,a=e._writableState,l=a||o;o&&(o.constructed=!0),a&&(a.constructed=!0),l.destroyed?e.emit(f,n):n?w(e,n,!0):r.nextTick(E,e)}try{e._construct(n)}catch(e){n(e)}}function E(e){e.emit(b)}function S(e){return e&&e.setHeader&&\"function\"==typeof e.abort}function v(e){e.emit(\"close\")}function R(e,t){e.emit(\"error\",t),r.nextTick(v,e)}e.exports={construct:function(e,t){if(\"function\"!=typeof e._construct)return;const n=e._readableState,o=e._writableState;n&&(n.constructed=!1),o&&(o.constructed=!1),e.once(b,t),e.listenerCount(b)>1||r.nextTick(m,e)},destroyer:function(e,t){e&&!u(e)&&(t||d(e)||(t=new a),c(e)?(e.socket=null,e.destroy(t)):S(e)?e.abort():S(e.req)?e.req.abort():\"function\"==typeof e.destroy?e.destroy(t):\"function\"==typeof e.close?e.close():t?r.nextTick(R,e,t):r.nextTick(v,e),e.destroyed||(e[s]=!0))},destroy:function(e,t){const n=this._readableState,r=this._writableState,i=r||n;return r&&r.destroyed||n&&n.destroyed?(\"function\"==typeof t&&t(),this):(h(e,r,n),r&&(r.destroyed=!0),n&&(n.destroyed=!0),i.constructed?p(this,e,t):this.once(f,(function(n){p(this,o(n,e),t)})),this)},undestroy:function(){const e=this._readableState,t=this._writableState;e&&(e.constructed=!0,e.closed=!1,e.closeEmitted=!1,e.destroyed=!1,e.errored=null,e.errorEmitted=!1,e.reading=!1,e.ended=!1===e.readable,e.endEmitted=!1===e.readable),t&&(t.constructed=!0,t.destroyed=!1,t.closed=!1,t.closeEmitted=!1,t.errored=null,t.errorEmitted=!1,t.finalCalled=!1,t.prefinished=!1,t.ended=!1===t.writable,t.ending=!1===t.writable,t.finished=!1===t.writable)},errorOrDestroy:w}},438:(e,t,n)=>{const{ObjectDefineProperties:r,ObjectGetOwnPropertyDescriptor:o,ObjectKeys:i,ObjectSetPrototypeOf:a}=n(557);e.exports=u;const l=n(392),s=n(772);a(u.prototype,l.prototype),a(u,l);{const e=i(s.prototype);for(let t=0;t<e.length;t++){const n=e[t];u.prototype[n]||(u.prototype[n]=s.prototype[n])}}function u(e){if(!(this instanceof u))return new u(e);l.call(this,e),s.call(this,e),e?(this.allowHalfOpen=!1!==e.allowHalfOpen,!1===e.readable&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),!1===e.writable&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)):this.allowHalfOpen=!0}let d,c;function f(){return void 0===d&&(d={}),d}r(u.prototype,{writable:{__proto__:null,...o(s.prototype,\"writable\")},writableHighWaterMark:{__proto__:null,...o(s.prototype,\"writableHighWaterMark\")},writableObjectMode:{__proto__:null,...o(s.prototype,\"writableObjectMode\")},writableBuffer:{__proto__:null,...o(s.prototype,\"writableBuffer\")},writableLength:{__proto__:null,...o(s.prototype,\"writableLength\")},writableFinished:{__proto__:null,...o(s.prototype,\"writableFinished\")},writableCorked:{__proto__:null,...o(s.prototype,\"writableCorked\")},writableEnded:{__proto__:null,...o(s.prototype,\"writableEnded\")},writableNeedDrain:{__proto__:null,...o(s.prototype,\"writableNeedDrain\")},destroyed:{__proto__:null,get(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set(e){this._readableState&&this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}}),u.fromWeb=function(e,t){return f().newStreamDuplexFromReadableWritablePair(e,t)},u.toWeb=function(e){return f().newReadableWritablePairFromDuplex(e)},u.from=function(e){return c||(c=n(873)),c(e,\"body\")}},873:(e,t,n)=>{const r=n(394),o=n(368),{isReadable:i,isWritable:a,isIterable:l,isNodeStream:s,isReadableNodeStream:u,isWritableNodeStream:d,isDuplexNodeStream:c}=n(433),f=n(355),{AbortError:b,codes:{ERR_INVALID_ARG_TYPE:h,ERR_INVALID_RETURN_VALUE:p}}=n(994),{destroyer:y}=n(701),g=n(438),_=n(392),{createDeferredPromise:w}=n(501),m=n(533),E=globalThis.Blob||o.Blob,S=void 0!==E?function(e){return e instanceof E}:function(e){return!1},v=globalThis.AbortController||n(499).AbortController,{FunctionPrototypeCall:R}=n(557);class A extends g{constructor(e){super(e),!1===(null==e?void 0:e.readable)&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),!1===(null==e?void 0:e.writable)&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)}}function T(e){const t=e.readable&&\"function\"!=typeof e.readable.read?_.wrap(e.readable):e.readable,n=e.writable;let r,o,l,s,u,d=!!i(t),c=!!a(n);function h(e){const t=s;s=null,t?t(e):e?u.destroy(e):d||c||u.destroy()}return u=new A({readableObjectMode:!(null==t||!t.readableObjectMode),writableObjectMode:!(null==n||!n.writableObjectMode),readable:d,writable:c}),c&&(f(n,(e=>{c=!1,e&&y(t,e),h(e)})),u._write=function(e,t,o){n.write(e,t)?o():r=o},u._final=function(e){n.end(),o=e},n.on(\"drain\",(function(){if(r){const e=r;r=null,e()}})),n.on(\"finish\",(function(){if(o){const e=o;o=null,e()}}))),d&&(f(t,(e=>{d=!1,e&&y(t,e),h(e)})),t.on(\"readable\",(function(){if(l){const e=l;l=null,e()}})),t.on(\"end\",(function(){u.push(null)})),u._read=function(){for(;;){const e=t.read();if(null===e)return void(l=u._read);if(!u.push(e))return}}),u._destroy=function(e,i){e||null===s||(e=new b),l=null,r=null,o=null,null===s?i(e):(s=i,y(n,e),y(t,e))},u}e.exports=function e(t,n){if(c(t))return t;if(u(t))return T({readable:t});if(d(t))return T({writable:t});if(s(t))return T({writable:!1,readable:!1});if(\"function\"==typeof t){const{value:e,write:o,final:i,destroy:a}=function(e){let{promise:t,resolve:n}=w();const o=new v,i=o.signal;return{value:e(async function*(){for(;;){const e=t;t=null;const{chunk:o,done:a,cb:l}=await e;if(r.nextTick(l),a)return;if(i.aborted)throw new b(void 0,{cause:i.reason});({promise:t,resolve:n}=w()),yield o}}(),{signal:i}),write(e,t,r){const o=n;n=null,o({chunk:e,done:!1,cb:r})},final(e){const t=n;n=null,t({done:!0,cb:e})},destroy(e,t){o.abort(),t(e)}}}(t);if(l(e))return m(A,e,{objectMode:!0,write:o,final:i,destroy:a});const s=null==e?void 0:e.then;if(\"function\"==typeof s){let t;const n=R(s,e,(e=>{if(null!=e)throw new p(\"nully\",\"body\",e)}),(e=>{y(t,e)}));return t=new A({objectMode:!0,readable:!1,write:o,final(e){i((async()=>{try{await n,r.nextTick(e,null)}catch(t){r.nextTick(e,t)}}))},destroy:a})}throw new p(\"Iterable, AsyncIterable or AsyncFunction\",n,e)}if(S(t))return e(t.arrayBuffer());if(l(t))return m(A,t,{objectMode:!0,writable:!1});if(\"object\"==typeof(null==t?void 0:t.writable)||\"object\"==typeof(null==t?void 0:t.readable))return T({readable:null!=t&&t.readable?u(null==t?void 0:t.readable)?null==t?void 0:t.readable:e(t.readable):void 0,writable:null!=t&&t.writable?d(null==t?void 0:t.writable)?null==t?void 0:t.writable:e(t.writable):void 0});const o=null==t?void 0:t.then;if(\"function\"==typeof o){let e;return R(o,t,(t=>{null!=t&&e.push(t),e.push(null)}),(t=>{y(e,t)})),e=new A({objectMode:!0,writable:!1,read(){}})}throw new h(n,[\"Blob\",\"ReadableStream\",\"WritableStream\",\"Stream\",\"Iterable\",\"AsyncIterable\",\"Function\",\"{ readable, writable } pair\",\"Promise\"],t)}},355:(e,t,n)=>{const r=n(394),{AbortError:o,codes:i}=n(994),{ERR_INVALID_ARG_TYPE:a,ERR_STREAM_PREMATURE_CLOSE:l}=i,{kEmptyObject:s,once:u}=n(501),{validateAbortSignal:d,validateFunction:c,validateObject:f}=n(215),{Promise:b}=n(557),{isClosed:h,isReadable:p,isReadableNodeStream:y,isReadableFinished:g,isReadableErrored:_,isWritable:w,isWritableNodeStream:m,isWritableFinished:E,isWritableErrored:S,isNodeStream:v,willEmitClose:R}=n(433),A=()=>{};function T(e,t,n){var i,b;2===arguments.length?(n=t,t=s):null==t?t=s:f(t,\"options\"),c(n,\"callback\"),d(t.signal,\"options.signal\"),n=u(n);const T=null!==(i=t.readable)&&void 0!==i?i:y(e),I=null!==(b=t.writable)&&void 0!==b?b:m(e);if(!v(e))throw new a(\"stream\",\"Stream\",e);const k=e._writableState,O=e._readableState,P=()=>{e.writable||N()};let M=R(e)&&y(e)===T&&m(e)===I,x=E(e,!1);const N=()=>{x=!0,e.destroyed&&(M=!1),(!M||e.readable&&!T)&&(T&&!j||n.call(e))};let j=g(e,!1);const D=()=>{j=!0,e.destroyed&&(M=!1),(!M||e.writable&&!I)&&(I&&!x||n.call(e))},L=t=>{n.call(e,t)};let W=h(e);const $=()=>{W=!0;const t=S(e)||_(e);return t&&\"boolean\"!=typeof t?n.call(e,t):T&&!j&&y(e,!0)&&!g(e,!1)?n.call(e,new l):!I||x||E(e,!1)?void n.call(e):n.call(e,new l)},C=()=>{e.req.on(\"finish\",N)};!function(e){return e.setHeader&&\"function\"==typeof e.abort}(e)?I&&!k&&(e.on(\"end\",P),e.on(\"close\",P)):(e.on(\"complete\",N),M||e.on(\"abort\",$),e.req?C():e.on(\"request\",C)),M||\"boolean\"!=typeof e.aborted||e.on(\"aborted\",$),e.on(\"end\",D),e.on(\"finish\",N),!1!==t.error&&e.on(\"error\",L),e.on(\"close\",$),W?r.nextTick($):null!=k&&k.errorEmitted||null!=O&&O.errorEmitted?M||r.nextTick($):(T||M&&!p(e)||!x&&!1!==w(e))&&(I||M&&!w(e)||!j&&!1!==p(e))?O&&e.req&&e.aborted&&r.nextTick($):r.nextTick($);const F=()=>{n=A,e.removeListener(\"aborted\",$),e.removeListener(\"complete\",N),e.removeListener(\"abort\",$),e.removeListener(\"request\",C),e.req&&e.req.removeListener(\"finish\",N),e.removeListener(\"end\",P),e.removeListener(\"close\",P),e.removeListener(\"finish\",N),e.removeListener(\"end\",D),e.removeListener(\"error\",L),e.removeListener(\"close\",$)};if(t.signal&&!W){const i=()=>{const r=n;F(),r.call(e,new o(void 0,{cause:t.signal.reason}))};if(t.signal.aborted)r.nextTick(i);else{const r=n;n=u(((...n)=>{t.signal.removeEventListener(\"abort\",i),r.apply(e,n)})),t.signal.addEventListener(\"abort\",i)}}return F}e.exports=T,e.exports.finished=function(e,t){return new b(((n,r)=>{T(e,t,(e=>{e?r(e):n()}))}))}},533:(e,t,n)=>{const r=n(394),{PromisePrototypeThen:o,SymbolAsyncIterator:i,SymbolIterator:a}=n(557),{Buffer:l}=n(368),{ERR_INVALID_ARG_TYPE:s,ERR_STREAM_NULL_VALUES:u}=n(994).codes;e.exports=function(e,t,n){let d,c;if(\"string\"==typeof t||t instanceof l)return new e({objectMode:!0,...n,read(){this.push(t),this.push(null)}});if(t&&t[i])c=!0,d=t[i]();else{if(!t||!t[a])throw new s(\"iterable\",[\"Iterable\"],t);c=!1,d=t[a]()}const f=new e({objectMode:!0,highWaterMark:1,...n});let b=!1;return f._read=function(){b||(b=!0,async function(){for(;;){try{const{value:e,done:t}=c?await d.next():d.next();if(t)f.push(null);else{const t=e&&\"function\"==typeof e.then?await e:e;if(null===t)throw b=!1,new u;if(f.push(t))continue;b=!1}}catch(e){f.destroy(e)}break}}())},f._destroy=function(e,t){o(async function(e){const t=null!=e,n=\"function\"==typeof d.throw;if(t&&n){const{value:t,done:n}=await d.throw(e);if(await t,n)return}if(\"function\"==typeof d.return){const{value:e}=await d.return();await e}}(e),(()=>r.nextTick(t,e)),(n=>r.nextTick(t,n||e)))},f}},693:(e,t,n)=>{const{ArrayIsArray:r,ObjectSetPrototypeOf:o}=n(557),{EventEmitter:i}=n(178);function a(e){i.call(this,e)}function l(e,t,n){if(\"function\"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?r(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}o(a.prototype,i.prototype),o(a,i),a.prototype.pipe=function(e,t){const n=this;function r(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function o(){n.readable&&n.resume&&n.resume()}n.on(\"data\",r),e.on(\"drain\",o),e._isStdio||t&&!1===t.end||(n.on(\"end\",s),n.on(\"close\",u));let a=!1;function s(){a||(a=!0,e.end())}function u(){a||(a=!0,\"function\"==typeof e.destroy&&e.destroy())}function d(e){c(),0===i.listenerCount(this,\"error\")&&this.emit(\"error\",e)}function c(){n.removeListener(\"data\",r),e.removeListener(\"drain\",o),n.removeListener(\"end\",s),n.removeListener(\"close\",u),n.removeListener(\"error\",d),e.removeListener(\"error\",d),n.removeListener(\"end\",c),n.removeListener(\"close\",c),e.removeListener(\"close\",c)}return l(n,\"error\",d),l(e,\"error\",d),n.on(\"end\",c),n.on(\"close\",c),e.on(\"close\",c),e.emit(\"pipe\",n),e},e.exports={Stream:a,prependListener:l}},723:(e,t,n)=>{const r=globalThis.AbortController||n(499).AbortController,{codes:{ERR_INVALID_ARG_TYPE:o,ERR_MISSING_ARGS:i,ERR_OUT_OF_RANGE:a},AbortError:l}=n(994),{validateAbortSignal:s,validateInteger:u,validateObject:d}=n(215),c=n(557).Symbol(\"kWeak\"),{finished:f}=n(355),{ArrayPrototypePush:b,MathFloor:h,Number:p,NumberIsNaN:y,Promise:g,PromiseReject:_,PromisePrototypeThen:w,Symbol:m}=n(557),E=m(\"kEmpty\"),S=m(\"kEof\");function v(e,t){if(\"function\"!=typeof e)throw new o(\"fn\",[\"Function\",\"AsyncFunction\"],e);null!=t&&d(t,\"options\"),null!=(null==t?void 0:t.signal)&&s(t.signal,\"options.signal\");let n=1;return null!=(null==t?void 0:t.concurrency)&&(n=h(t.concurrency)),u(n,\"concurrency\",1),async function*(){var o,i;const a=new r,s=this,u=[],d=a.signal,c={signal:d},f=()=>a.abort();let b,h;null!=t&&null!==(o=t.signal)&&void 0!==o&&o.aborted&&f(),null==t||null===(i=t.signal)||void 0===i||i.addEventListener(\"abort\",f);let p=!1;function y(){p=!0}!async function(){try{for await(let t of s){var r;if(p)return;if(d.aborted)throw new l;try{t=e(t,c)}catch(e){t=_(e)}t!==E&&(\"function\"==typeof(null===(r=t)||void 0===r?void 0:r.catch)&&t.catch(y),u.push(t),b&&(b(),b=null),!p&&u.length&&u.length>=n&&await new g((e=>{h=e})))}u.push(S)}catch(e){const t=_(e);w(t,void 0,y),u.push(t)}finally{var o;p=!0,b&&(b(),b=null),null==t||null===(o=t.signal)||void 0===o||o.removeEventListener(\"abort\",f)}}();try{for(;;){for(;u.length>0;){const e=await u[0];if(e===S)return;if(d.aborted)throw new l;e!==E&&(yield e),u.shift(),h&&(h(),h=null)}await new g((e=>{b=e}))}}finally{a.abort(),p=!0,h&&(h(),h=null)}}.call(this)}async function R(e,t=void 0){for await(const n of A.call(this,e,t))return!0;return!1}function A(e,t){if(\"function\"!=typeof e)throw new o(\"fn\",[\"Function\",\"AsyncFunction\"],e);return v.call(this,(async function(t,n){return await e(t,n)?t:E}),t)}class T extends i{constructor(){super(\"reduce\"),this.message=\"Reduce of an empty stream requires an initial value\"}}function I(e){if(e=p(e),y(e))return 0;if(e<0)throw new a(\"number\",\">= 0\",e);return e}e.exports.streamReturningOperators={asIndexedPairs:function(e=void 0){return null!=e&&d(e,\"options\"),null!=(null==e?void 0:e.signal)&&s(e.signal,\"options.signal\"),async function*(){let t=0;for await(const r of this){var n;if(null!=e&&null!==(n=e.signal)&&void 0!==n&&n.aborted)throw new l({cause:e.signal.reason});yield[t++,r]}}.call(this)},drop:function(e,t=void 0){return null!=t&&d(t,\"options\"),null!=(null==t?void 0:t.signal)&&s(t.signal,\"options.signal\"),e=I(e),async function*(){var n;if(null!=t&&null!==(n=t.signal)&&void 0!==n&&n.aborted)throw new l;for await(const n of this){var r;if(null!=t&&null!==(r=t.signal)&&void 0!==r&&r.aborted)throw new l;e--<=0&&(yield n)}}.call(this)},filter:A,flatMap:function(e,t){const n=v.call(this,e,t);return async function*(){for await(const e of n)yield*e}.call(this)},map:v,take:function(e,t=void 0){return null!=t&&d(t,\"options\"),null!=(null==t?void 0:t.signal)&&s(t.signal,\"options.signal\"),e=I(e),async function*(){var n;if(null!=t&&null!==(n=t.signal)&&void 0!==n&&n.aborted)throw new l;for await(const n of this){var r;if(null!=t&&null!==(r=t.signal)&&void 0!==r&&r.aborted)throw new l;if(!(e-- >0))return;yield n}}.call(this)}},e.exports.promiseReturningOperators={every:async function(e,t=void 0){if(\"function\"!=typeof e)throw new o(\"fn\",[\"Function\",\"AsyncFunction\"],e);return!await R.call(this,(async(...t)=>!await e(...t)),t)},forEach:async function(e,t){if(\"function\"!=typeof e)throw new o(\"fn\",[\"Function\",\"AsyncFunction\"],e);for await(const n of v.call(this,(async function(t,n){return await e(t,n),E}),t));},reduce:async function(e,t,n){var i;if(\"function\"!=typeof e)throw new o(\"reducer\",[\"Function\",\"AsyncFunction\"],e);null!=n&&d(n,\"options\"),null!=(null==n?void 0:n.signal)&&s(n.signal,\"options.signal\");let a=arguments.length>1;if(null!=n&&null!==(i=n.signal)&&void 0!==i&&i.aborted){const e=new l(void 0,{cause:n.signal.reason});throw this.once(\"error\",(()=>{})),await f(this.destroy(e)),e}const u=new r,b=u.signal;if(null!=n&&n.signal){const e={once:!0,[c]:this};n.signal.addEventListener(\"abort\",(()=>u.abort()),e)}let h=!1;try{for await(const r of this){var p;if(h=!0,null!=n&&null!==(p=n.signal)&&void 0!==p&&p.aborted)throw new l;a?t=await e(t,r,{signal:b}):(t=r,a=!0)}if(!h&&!a)throw new T}finally{u.abort()}return t},toArray:async function(e){null!=e&&d(e,\"options\"),null!=(null==e?void 0:e.signal)&&s(e.signal,\"options.signal\");const t=[];for await(const r of this){var n;if(null!=e&&null!==(n=e.signal)&&void 0!==n&&n.aborted)throw new l(void 0,{cause:e.signal.reason});b(t,r)}return t},some:R,find:async function(e,t){for await(const n of A.call(this,e,t))return n}}},107:(e,t,n)=>{const{ObjectSetPrototypeOf:r}=n(557);e.exports=i;const o=n(744);function i(e){if(!(this instanceof i))return new i(e);o.call(this,e)}r(i.prototype,o.prototype),r(i,o),i.prototype._transform=function(e,t,n){n(null,e)}},792:(e,t,n)=>{const r=n(394),{ArrayIsArray:o,Promise:i,SymbolAsyncIterator:a}=n(557),l=n(355),{once:s}=n(501),u=n(701),d=n(438),{aggregateTwoErrors:c,codes:{ERR_INVALID_ARG_TYPE:f,ERR_INVALID_RETURN_VALUE:b,ERR_MISSING_ARGS:h,ERR_STREAM_DESTROYED:p,ERR_STREAM_PREMATURE_CLOSE:y},AbortError:g}=n(994),{validateFunction:_,validateAbortSignal:w}=n(215),{isIterable:m,isReadable:E,isReadableNodeStream:S,isNodeStream:v}=n(433),R=globalThis.AbortController||n(499).AbortController;let A,T;function I(e,t,n){let r=!1;return e.on(\"close\",(()=>{r=!0})),{destroy:t=>{r||(r=!0,u.destroyer(e,t||new p(\"pipe\")))},cleanup:l(e,{readable:t,writable:n},(e=>{r=!e}))}}function k(e){if(m(e))return e;if(S(e))return async function*(e){T||(T=n(392)),yield*T.prototype[a].call(e)}(e);throw new f(\"val\",[\"Readable\",\"Iterable\",\"AsyncIterable\"],e)}async function O(e,t,n,{end:r}){let o,a=null;const s=e=>{if(e&&(o=e),a){const e=a;a=null,e()}},u=()=>new i(((e,t)=>{o?t(o):a=()=>{o?t(o):e()}}));t.on(\"drain\",s);const d=l(t,{readable:!1},s);try{t.writableNeedDrain&&await u();for await(const n of e)t.write(n)||await u();r&&t.end(),await u(),n()}catch(e){n(o!==e?c(o,e):e)}finally{d(),t.off(\"drain\",s)}}function P(e,t,i){if(1===e.length&&o(e[0])&&(e=e[0]),e.length<2)throw new h(\"streams\");const a=new R,l=a.signal,s=null==i?void 0:i.signal,u=[];function c(){N(new g)}let p,y;w(s,\"options.signal\"),null==s||s.addEventListener(\"abort\",c);const _=[];let T,P=0;function x(e){N(e,0==--P)}function N(e,n){if(!e||p&&\"ERR_STREAM_PREMATURE_CLOSE\"!==p.code||(p=e),p||n){for(;_.length;)_.shift()(p);null==s||s.removeEventListener(\"abort\",c),a.abort(),n&&(p||u.forEach((e=>e())),r.nextTick(t,p,y))}}for(let L=0;L<e.length;L++){const W=e[L],$=L<e.length-1,C=L>0,F=$||!1!==(null==i?void 0:i.end),U=L===e.length-1;if(v(W)){if(F){const{destroy:B,cleanup:G}=I(W,$,C);_.push(B),E(W)&&U&&u.push(G)}function j(e){e&&\"AbortError\"!==e.name&&\"ERR_STREAM_PREMATURE_CLOSE\"!==e.code&&x(e)}W.on(\"error\",j),E(W)&&U&&u.push((()=>{W.removeListener(\"error\",j)}))}if(0===L)if(\"function\"==typeof W){if(T=W({signal:l}),!m(T))throw new b(\"Iterable, AsyncIterable or Stream\",\"source\",T)}else T=m(W)||S(W)?W:d.from(W);else if(\"function\"==typeof W)if(T=k(T),T=W(T,{signal:l}),$){if(!m(T,!0))throw new b(\"AsyncIterable\",`transform[${L-1}]`,T)}else{var D;A||(A=n(107));const H=new A({objectMode:!0}),V=null===(D=T)||void 0===D?void 0:D.then;if(\"function\"==typeof V)P++,V.call(T,(e=>{y=e,null!=e&&H.write(e),F&&H.end(),r.nextTick(x)}),(e=>{H.destroy(e),r.nextTick(x,e)}));else{if(!m(T,!0))throw new b(\"AsyncIterable or Promise\",\"destination\",T);P++,O(T,H,x,{end:F})}T=H;const{destroy:q,cleanup:Y}=I(T,!1,!0);_.push(q),U&&u.push(Y)}else if(v(W)){if(S(T)){P+=2;const K=M(T,W,x,{end:F});E(W)&&U&&u.push(K)}else{if(!m(T))throw new f(\"val\",[\"Readable\",\"Iterable\",\"AsyncIterable\"],T);P++,O(T,W,x,{end:F})}T=W}else T=d.from(W)}return(null!=l&&l.aborted||null!=s&&s.aborted)&&r.nextTick(c),T}function M(e,t,n,{end:r}){let o=!1;return t.on(\"close\",(()=>{o||n(new y)})),e.pipe(t,{end:r}),r?e.once(\"end\",(()=>{o=!0,t.end()})):n(),l(e,{readable:!0,writable:!1},(t=>{const r=e._readableState;t&&\"ERR_STREAM_PREMATURE_CLOSE\"===t.code&&r&&r.ended&&!r.errored&&!r.errorEmitted?e.once(\"end\",n).once(\"error\",n):n(t)})),l(t,{readable:!1,writable:!0},n)}e.exports={pipelineImpl:P,pipeline:function(...e){return P(e,s(function(e){return _(e[e.length-1],\"streams[stream.length - 1]\"),e.pop()}(e)))}}},392:(e,t,n)=>{const r=n(394),{ArrayPrototypeIndexOf:o,NumberIsInteger:i,NumberIsNaN:a,NumberParseInt:l,ObjectDefineProperties:s,ObjectKeys:u,ObjectSetPrototypeOf:d,Promise:c,SafeSet:f,SymbolAsyncIterator:b,Symbol:h}=n(557);e.exports=C,C.ReadableState=$;const{EventEmitter:p}=n(178),{Stream:y,prependListener:g}=n(693),{Buffer:_}=n(368),{addAbortSignal:w}=n(920),m=n(355);let E=n(501).debuglog(\"stream\",(e=>{E=e}));const S=n(340),v=n(701),{getHighWaterMark:R,getDefaultHighWaterMark:A}=n(745),{aggregateTwoErrors:T,codes:{ERR_INVALID_ARG_TYPE:I,ERR_METHOD_NOT_IMPLEMENTED:k,ERR_OUT_OF_RANGE:O,ERR_STREAM_PUSH_AFTER_EOF:P,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:M}}=n(994),{validateObject:x}=n(215),N=h(\"kPaused\"),{StringDecoder:j}=n(888),D=n(533);d(C.prototype,y.prototype),d(C,y);const L=()=>{},{errorOrDestroy:W}=v;function $(e,t,r){\"boolean\"!=typeof r&&(r=t instanceof n(438)),this.objectMode=!(!e||!e.objectMode),r&&(this.objectMode=this.objectMode||!(!e||!e.readableObjectMode)),this.highWaterMark=e?R(this,e,\"readableHighWaterMark\",r):A(!1),this.buffer=new S,this.length=0,this.pipes=[],this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.constructed=!0,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this[N]=null,this.errorEmitted=!1,this.emitClose=!e||!1!==e.emitClose,this.autoDestroy=!e||!1!==e.autoDestroy,this.destroyed=!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this.defaultEncoding=e&&e.defaultEncoding||\"utf8\",this.awaitDrainWriters=null,this.multiAwaitDrain=!1,this.readingMore=!1,this.dataEmitted=!1,this.decoder=null,this.encoding=null,e&&e.encoding&&(this.decoder=new j(e.encoding),this.encoding=e.encoding)}function C(e){if(!(this instanceof C))return new C(e);const t=this instanceof n(438);this._readableState=new $(e,this,t),e&&(\"function\"==typeof e.read&&(this._read=e.read),\"function\"==typeof e.destroy&&(this._destroy=e.destroy),\"function\"==typeof e.construct&&(this._construct=e.construct),e.signal&&!t&&w(e.signal,this)),y.call(this,e),v.construct(this,(()=>{this._readableState.needReadable&&V(this,this._readableState)}))}function F(e,t,n,r){E(\"readableAddChunk\",t);const o=e._readableState;let i;if(o.objectMode||(\"string\"==typeof t?(n=n||o.defaultEncoding,o.encoding!==n&&(r&&o.encoding?t=_.from(t,n).toString(o.encoding):(t=_.from(t,n),n=\"\"))):t instanceof _?n=\"\":y._isUint8Array(t)?(t=y._uint8ArrayToBuffer(t),n=\"\"):null!=t&&(i=new I(\"chunk\",[\"string\",\"Buffer\",\"Uint8Array\"],t))),i)W(e,i);else if(null===t)o.reading=!1,function(e,t){if(E(\"onEofChunk\"),!t.ended){if(t.decoder){const e=t.decoder.end();e&&e.length&&(t.buffer.push(e),t.length+=t.objectMode?1:e.length)}t.ended=!0,t.sync?G(e):(t.needReadable=!1,t.emittedReadable=!0,H(e))}}(e,o);else if(o.objectMode||t&&t.length>0)if(r)if(o.endEmitted)W(e,new M);else{if(o.destroyed||o.errored)return!1;U(e,o,t,!0)}else if(o.ended)W(e,new P);else{if(o.destroyed||o.errored)return!1;o.reading=!1,o.decoder&&!n?(t=o.decoder.write(t),o.objectMode||0!==t.length?U(e,o,t,!1):V(e,o)):U(e,o,t,!1)}else r||(o.reading=!1,V(e,o));return!o.ended&&(o.length<o.highWaterMark||0===o.length)}function U(e,t,n,r){t.flowing&&0===t.length&&!t.sync&&e.listenerCount(\"data\")>0?(t.multiAwaitDrain?t.awaitDrainWriters.clear():t.awaitDrainWriters=null,t.dataEmitted=!0,e.emit(\"data\",n)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&G(e)),V(e,t)}function B(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:a(e)?t.flowing&&t.length?t.buffer.first().length:t.length:e<=t.length?e:t.ended?t.length:0}function G(e){const t=e._readableState;E(\"emitReadable\",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(E(\"emitReadable\",t.flowing),t.emittedReadable=!0,r.nextTick(H,e))}function H(e){const t=e._readableState;E(\"emitReadable_\",t.destroyed,t.length,t.ended),t.destroyed||t.errored||!t.length&&!t.ended||(e.emit(\"readable\"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,J(e)}function V(e,t){!t.readingMore&&t.constructed&&(t.readingMore=!0,r.nextTick(q,e,t))}function q(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){const n=t.length;if(E(\"maybeReadMore read 0\"),e.read(0),n===t.length)break}t.readingMore=!1}function Y(e){const t=e._readableState;t.readableListening=e.listenerCount(\"readable\")>0,t.resumeScheduled&&!1===t[N]?t.flowing=!0:e.listenerCount(\"data\")>0?e.resume():t.readableListening||(t.flowing=null)}function K(e){E(\"readable nexttick read 0\"),e.read(0)}function z(e,t){E(\"resume\",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit(\"resume\"),J(e),t.flowing&&!t.reading&&e.read(0)}function J(e){const t=e._readableState;for(E(\"flow\",t.flowing);t.flowing&&null!==e.read(););}function X(e,t){\"function\"!=typeof e.read&&(e=C.wrap(e,{objectMode:!0}));const n=async function*(e,t){let n,r=L;function o(t){this===e?(r(),r=L):r=t}e.on(\"readable\",o);const i=m(e,{writable:!1},(e=>{n=e?T(n,e):null,r(),r=L}));try{for(;;){const t=e.destroyed?null:e.read();if(null!==t)yield t;else{if(n)throw n;if(null===n)return;await new c(o)}}}catch(e){throw n=T(n,e),n}finally{!n&&!1===(null==t?void 0:t.destroyOnReturn)||void 0!==n&&!e._readableState.autoDestroy?(e.off(\"readable\",o),i()):v.destroyer(e,null)}}(e,t);return n.stream=e,n}function Z(e,t){if(0===t.length)return null;let n;return t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(\"\"):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n}function Q(e){const t=e._readableState;E(\"endReadable\",t.endEmitted),t.endEmitted||(t.ended=!0,r.nextTick(ee,t,e))}function ee(e,t){if(E(\"endReadableNT\",e.endEmitted,e.length),!e.errored&&!e.closeEmitted&&!e.endEmitted&&0===e.length)if(e.endEmitted=!0,t.emit(\"end\"),t.writable&&!1===t.allowHalfOpen)r.nextTick(te,t);else if(e.autoDestroy){const e=t._writableState;(!e||e.autoDestroy&&(e.finished||!1===e.writable))&&t.destroy()}}function te(e){e.writable&&!e.writableEnded&&!e.destroyed&&e.end()}let ne;function re(){return void 0===ne&&(ne={}),ne}C.prototype.destroy=v.destroy,C.prototype._undestroy=v.undestroy,C.prototype._destroy=function(e,t){t(e)},C.prototype[p.captureRejectionSymbol]=function(e){this.destroy(e)},C.prototype.push=function(e,t){return F(this,e,t,!1)},C.prototype.unshift=function(e,t){return F(this,e,t,!0)},C.prototype.isPaused=function(){const e=this._readableState;return!0===e[N]||!1===e.flowing},C.prototype.setEncoding=function(e){const t=new j(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;const n=this._readableState.buffer;let r=\"\";for(const e of n)r+=t.write(e);return n.clear(),\"\"!==r&&n.push(r),this._readableState.length=r.length,this},C.prototype.read=function(e){E(\"read\",e),void 0===e?e=NaN:i(e)||(e=l(e,10));const t=this._readableState,n=e;if(e>t.highWaterMark&&(t.highWaterMark=function(e){if(e>1073741824)throw new O(\"size\",\"<= 1GiB\",e);return e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,++e}(e)),0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return E(\"read: emitReadable\",t.length,t.ended),0===t.length&&t.ended?Q(this):G(this),null;if(0===(e=B(e,t))&&t.ended)return 0===t.length&&Q(this),null;let r,o=t.needReadable;if(E(\"need readable\",o),(0===t.length||t.length-e<t.highWaterMark)&&(o=!0,E(\"length less than watermark\",o)),t.ended||t.reading||t.destroyed||t.errored||!t.constructed)o=!1,E(\"reading, ended or constructing\",o);else if(o){E(\"do read\"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0);try{this._read(t.highWaterMark)}catch(e){W(this,e)}t.sync=!1,t.reading||(e=B(n,t))}return r=e>0?Z(e,t):null,null===r?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.multiAwaitDrain?t.awaitDrainWriters.clear():t.awaitDrainWriters=null),0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&Q(this)),null===r||t.errorEmitted||t.closeEmitted||(t.dataEmitted=!0,this.emit(\"data\",r)),r},C.prototype._read=function(e){throw new k(\"_read()\")},C.prototype.pipe=function(e,t){const n=this,o=this._readableState;1===o.pipes.length&&(o.multiAwaitDrain||(o.multiAwaitDrain=!0,o.awaitDrainWriters=new f(o.awaitDrainWriters?[o.awaitDrainWriters]:[]))),o.pipes.push(e),E(\"pipe count=%d opts=%j\",o.pipes.length,t);const i=t&&!1===t.end||e===r.stdout||e===r.stderr?p:a;function a(){E(\"onend\"),e.end()}let l;o.endEmitted?r.nextTick(i):n.once(\"end\",i),e.on(\"unpipe\",(function t(r,i){E(\"onunpipe\"),r===n&&i&&!1===i.hasUnpiped&&(i.hasUnpiped=!0,E(\"cleanup\"),e.removeListener(\"close\",b),e.removeListener(\"finish\",h),l&&e.removeListener(\"drain\",l),e.removeListener(\"error\",c),e.removeListener(\"unpipe\",t),n.removeListener(\"end\",a),n.removeListener(\"end\",p),n.removeListener(\"data\",d),s=!0,l&&o.awaitDrainWriters&&(!e._writableState||e._writableState.needDrain)&&l())}));let s=!1;function u(){s||(1===o.pipes.length&&o.pipes[0]===e?(E(\"false write response, pause\",0),o.awaitDrainWriters=e,o.multiAwaitDrain=!1):o.pipes.length>1&&o.pipes.includes(e)&&(E(\"false write response, pause\",o.awaitDrainWriters.size),o.awaitDrainWriters.add(e)),n.pause()),l||(l=function(e,t){return function(){const n=e._readableState;n.awaitDrainWriters===t?(E(\"pipeOnDrain\",1),n.awaitDrainWriters=null):n.multiAwaitDrain&&(E(\"pipeOnDrain\",n.awaitDrainWriters.size),n.awaitDrainWriters.delete(t)),n.awaitDrainWriters&&0!==n.awaitDrainWriters.size||!e.listenerCount(\"data\")||e.resume()}}(n,e),e.on(\"drain\",l))}function d(t){E(\"ondata\");const n=e.write(t);E(\"dest.write\",n),!1===n&&u()}function c(t){if(E(\"onerror\",t),p(),e.removeListener(\"error\",c),0===e.listenerCount(\"error\")){const n=e._writableState||e._readableState;n&&!n.errorEmitted?W(e,t):e.emit(\"error\",t)}}function b(){e.removeListener(\"finish\",h),p()}function h(){E(\"onfinish\"),e.removeListener(\"close\",b),p()}function p(){E(\"unpipe\"),n.unpipe(e)}return n.on(\"data\",d),g(e,\"error\",c),e.once(\"close\",b),e.once(\"finish\",h),e.emit(\"pipe\",n),!0===e.writableNeedDrain?o.flowing&&u():o.flowing||(E(\"pipe resume\"),n.resume()),e},C.prototype.unpipe=function(e){const t=this._readableState;if(0===t.pipes.length)return this;if(!e){const e=t.pipes;t.pipes=[],this.pause();for(let t=0;t<e.length;t++)e[t].emit(\"unpipe\",this,{hasUnpiped:!1});return this}const n=o(t.pipes,e);return-1===n||(t.pipes.splice(n,1),0===t.pipes.length&&this.pause(),e.emit(\"unpipe\",this,{hasUnpiped:!1})),this},C.prototype.on=function(e,t){const n=y.prototype.on.call(this,e,t),o=this._readableState;return\"data\"===e?(o.readableListening=this.listenerCount(\"readable\")>0,!1!==o.flowing&&this.resume()):\"readable\"===e&&(o.endEmitted||o.readableListening||(o.readableListening=o.needReadable=!0,o.flowing=!1,o.emittedReadable=!1,E(\"on readable\",o.length,o.reading),o.length?G(this):o.reading||r.nextTick(K,this))),n},C.prototype.addListener=C.prototype.on,C.prototype.removeListener=function(e,t){const n=y.prototype.removeListener.call(this,e,t);return\"readable\"===e&&r.nextTick(Y,this),n},C.prototype.off=C.prototype.removeListener,C.prototype.removeAllListeners=function(e){const t=y.prototype.removeAllListeners.apply(this,arguments);return\"readable\"!==e&&void 0!==e||r.nextTick(Y,this),t},C.prototype.resume=function(){const e=this._readableState;return e.flowing||(E(\"resume\"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,r.nextTick(z,e,t))}(this,e)),e[N]=!1,this},C.prototype.pause=function(){return E(\"call pause flowing=%j\",this._readableState.flowing),!1!==this._readableState.flowing&&(E(\"pause\"),this._readableState.flowing=!1,this.emit(\"pause\")),this._readableState[N]=!0,this},C.prototype.wrap=function(e){let t=!1;e.on(\"data\",(n=>{!this.push(n)&&e.pause&&(t=!0,e.pause())})),e.on(\"end\",(()=>{this.push(null)})),e.on(\"error\",(e=>{W(this,e)})),e.on(\"close\",(()=>{this.destroy()})),e.on(\"destroy\",(()=>{this.destroy()})),this._read=()=>{t&&e.resume&&(t=!1,e.resume())};const n=u(e);for(let t=1;t<n.length;t++){const r=n[t];void 0===this[r]&&\"function\"==typeof e[r]&&(this[r]=e[r].bind(e))}return this},C.prototype[b]=function(){return X(this)},C.prototype.iterator=function(e){return void 0!==e&&x(e,\"options\"),X(this,e)},s(C.prototype,{readable:{__proto__:null,get(){const e=this._readableState;return!(!e||!1===e.readable||e.destroyed||e.errorEmitted||e.endEmitted)},set(e){this._readableState&&(this._readableState.readable=!!e)}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!(!1===this._readableState.readable||!this._readableState.destroyed&&!this._readableState.errored||this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return!!this._readableState&&this._readableState.objectMode}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return!!this._readableState&&this._readableState.closed}},destroyed:{__proto__:null,enumerable:!1,get(){return!!this._readableState&&this._readableState.destroyed},set(e){this._readableState&&(this._readableState.destroyed=e)}},readableEnded:{__proto__:null,enumerable:!1,get(){return!!this._readableState&&this._readableState.endEmitted}}}),s($.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return!1!==this[N]},set(e){this[N]=!!e}}}),C._fromList=Z,C.from=function(e,t){return D(C,e,t)},C.fromWeb=function(e,t){return re().newStreamReadableFromReadableStream(e,t)},C.toWeb=function(e,t){return re().newReadableStreamFromStreamReadable(e,t)},C.wrap=function(e,t){var n,r;return new C({objectMode:null===(n=null!==(r=e.readableObjectMode)&&void 0!==r?r:e.objectMode)||void 0===n||n,...t,destroy(t,n){v.destroyer(e,t),n(t)}}).wrap(e)}},745:(e,t,n)=>{const{MathFloor:r,NumberIsInteger:o}=n(557),{ERR_INVALID_ARG_VALUE:i}=n(994).codes;function a(e){return e?16:16384}e.exports={getHighWaterMark:function(e,t,n,l){const s=function(e,t,n){return null!=e.highWaterMark?e.highWaterMark:t?e[n]:null}(t,l,n);if(null!=s){if(!o(s)||s<0)throw new i(l?`options.${n}`:\"options.highWaterMark\",s);return r(s)}return a(e.objectMode)},getDefaultHighWaterMark:a}},744:(e,t,n)=>{const{ObjectSetPrototypeOf:r,Symbol:o}=n(557);e.exports=u;const{ERR_METHOD_NOT_IMPLEMENTED:i}=n(994).codes,a=n(438),{getHighWaterMark:l}=n(745);r(u.prototype,a.prototype),r(u,a);const s=o(\"kCallback\");function u(e){if(!(this instanceof u))return new u(e);const t=e?l(this,e,\"readableHighWaterMark\",!0):null;0===t&&(e={...e,highWaterMark:null,readableHighWaterMark:t,writableHighWaterMark:e.writableHighWaterMark||0}),a.call(this,e),this._readableState.sync=!1,this[s]=null,e&&(\"function\"==typeof e.transform&&(this._transform=e.transform),\"function\"==typeof e.flush&&(this._flush=e.flush)),this.on(\"prefinish\",c)}function d(e){\"function\"!=typeof this._flush||this.destroyed?(this.push(null),e&&e()):this._flush(((t,n)=>{t?e?e(t):this.destroy(t):(null!=n&&this.push(n),this.push(null),e&&e())}))}function c(){this._final!==d&&d.call(this)}u.prototype._final=d,u.prototype._transform=function(e,t,n){throw new i(\"_transform()\")},u.prototype._write=function(e,t,n){const r=this._readableState,o=this._writableState,i=r.length;this._transform(e,t,((e,t)=>{e?n(e):(null!=t&&this.push(t),o.ended||i===r.length||r.length<r.highWaterMark?n():this[s]=n)}))},u.prototype._read=function(){if(this[s]){const e=this[s];this[s]=null,e()}}},433:(e,t,n)=>{const{Symbol:r,SymbolAsyncIterator:o,SymbolIterator:i}=n(557),a=r(\"kDestroyed\"),l=r(\"kIsErrored\"),s=r(\"kIsReadable\"),u=r(\"kIsDisturbed\");function d(e,t=!1){var n;return!(!e||\"function\"!=typeof e.pipe||\"function\"!=typeof e.on||t&&(\"function\"!=typeof e.pause||\"function\"!=typeof e.resume)||e._writableState&&!1===(null===(n=e._readableState)||void 0===n?void 0:n.readable)||e._writableState&&!e._readableState)}function c(e){var t;return!(!e||\"function\"!=typeof e.write||\"function\"!=typeof e.on||e._readableState&&!1===(null===(t=e._writableState)||void 0===t?void 0:t.writable))}function f(e){return e&&(e._readableState||e._writableState||\"function\"==typeof e.write&&\"function\"==typeof e.on||\"function\"==typeof e.pipe&&\"function\"==typeof e.on)}function b(e){if(!f(e))return null;const t=e._writableState,n=e._readableState,r=t||n;return!!(e.destroyed||e[a]||null!=r&&r.destroyed)}function h(e){if(!c(e))return null;if(!0===e.writableEnded)return!0;const t=e._writableState;return(null==t||!t.errored)&&(\"boolean\"!=typeof(null==t?void 0:t.ended)?null:t.ended)}function p(e,t){if(!d(e))return null;const n=e._readableState;return(null==n||!n.errored)&&(\"boolean\"!=typeof(null==n?void 0:n.endEmitted)?null:!!(n.endEmitted||!1===t&&!0===n.ended&&0===n.length))}function y(e){return e&&null!=e[s]?e[s]:\"boolean\"!=typeof(null==e?void 0:e.readable)?null:!b(e)&&d(e)&&e.readable&&!p(e)}function g(e){return\"boolean\"!=typeof(null==e?void 0:e.writable)?null:!b(e)&&c(e)&&e.writable&&!h(e)}function _(e){return\"boolean\"==typeof e._closed&&\"boolean\"==typeof e._defaultKeepAlive&&\"boolean\"==typeof e._removedConnection&&\"boolean\"==typeof e._removedContLen}function w(e){return\"boolean\"==typeof e._sent100&&_(e)}e.exports={kDestroyed:a,isDisturbed:function(e){var t;return!(!e||!(null!==(t=e[u])&&void 0!==t?t:e.readableDidRead||e.readableAborted))},kIsDisturbed:u,isErrored:function(e){var t,n,r,o,i,a,s,u,d,c;return!(!e||!(null!==(t=null!==(n=null!==(r=null!==(o=null!==(i=null!==(a=e[l])&&void 0!==a?a:e.readableErrored)&&void 0!==i?i:e.writableErrored)&&void 0!==o?o:null===(s=e._readableState)||void 0===s?void 0:s.errorEmitted)&&void 0!==r?r:null===(u=e._writableState)||void 0===u?void 0:u.errorEmitted)&&void 0!==n?n:null===(d=e._readableState)||void 0===d?void 0:d.errored)&&void 0!==t?t:null===(c=e._writableState)||void 0===c?void 0:c.errored))},kIsErrored:l,isReadable:y,kIsReadable:s,isClosed:function(e){if(!f(e))return null;if(\"boolean\"==typeof e.closed)return e.closed;const t=e._writableState,n=e._readableState;return\"boolean\"==typeof(null==t?void 0:t.closed)||\"boolean\"==typeof(null==n?void 0:n.closed)?(null==t?void 0:t.closed)||(null==n?void 0:n.closed):\"boolean\"==typeof e._closed&&_(e)?e._closed:null},isDestroyed:b,isDuplexNodeStream:function(e){return!(!e||\"function\"!=typeof e.pipe||!e._readableState||\"function\"!=typeof e.on||\"function\"!=typeof e.write)},isFinished:function(e,t){return f(e)?!(!b(e)&&(!1!==(null==t?void 0:t.readable)&&y(e)||!1!==(null==t?void 0:t.writable)&&g(e))):null},isIterable:function(e,t){return null!=e&&(!0===t?\"function\"==typeof e[o]:!1===t?\"function\"==typeof e[i]:\"function\"==typeof e[o]||\"function\"==typeof e[i])},isReadableNodeStream:d,isReadableEnded:function(e){if(!d(e))return null;if(!0===e.readableEnded)return!0;const t=e._readableState;return!(!t||t.errored)&&(\"boolean\"!=typeof(null==t?void 0:t.ended)?null:t.ended)},isReadableFinished:p,isReadableErrored:function(e){var t,n;return f(e)?e.readableErrored?e.readableErrored:null!==(t=null===(n=e._readableState)||void 0===n?void 0:n.errored)&&void 0!==t?t:null:null},isNodeStream:f,isWritable:g,isWritableNodeStream:c,isWritableEnded:h,isWritableFinished:function(e,t){if(!c(e))return null;if(!0===e.writableFinished)return!0;const n=e._writableState;return(null==n||!n.errored)&&(\"boolean\"!=typeof(null==n?void 0:n.finished)?null:!!(n.finished||!1===t&&!0===n.ended&&0===n.length))},isWritableErrored:function(e){var t,n;return f(e)?e.writableErrored?e.writableErrored:null!==(t=null===(n=e._writableState)||void 0===n?void 0:n.errored)&&void 0!==t?t:null:null},isServerRequest:function(e){var t;return\"boolean\"==typeof e._consuming&&\"boolean\"==typeof e._dumped&&void 0===(null===(t=e.req)||void 0===t?void 0:t.upgradeOrConnect)},isServerResponse:w,willEmitClose:function(e){if(!f(e))return null;const t=e._writableState,n=e._readableState,r=t||n;return!r&&w(e)||!!(r&&r.autoDestroy&&r.emitClose&&!1===r.closed)}}},772:(e,t,n)=>{const r=n(394),{ArrayPrototypeSlice:o,Error:i,FunctionPrototypeSymbolHasInstance:a,ObjectDefineProperty:l,ObjectDefineProperties:s,ObjectSetPrototypeOf:u,StringPrototypeToLowerCase:d,Symbol:c,SymbolHasInstance:f}=n(557);e.exports=j,j.WritableState=x;const{EventEmitter:b}=n(178),h=n(693).Stream,{Buffer:p}=n(368),y=n(701),{addAbortSignal:g}=n(920),{getHighWaterMark:_,getDefaultHighWaterMark:w}=n(745),{ERR_INVALID_ARG_TYPE:m,ERR_METHOD_NOT_IMPLEMENTED:E,ERR_MULTIPLE_CALLBACK:S,ERR_STREAM_CANNOT_PIPE:v,ERR_STREAM_DESTROYED:R,ERR_STREAM_ALREADY_FINISHED:A,ERR_STREAM_NULL_VALUES:T,ERR_STREAM_WRITE_AFTER_END:I,ERR_UNKNOWN_ENCODING:k}=n(994).codes,{errorOrDestroy:O}=y;function P(){}u(j.prototype,h.prototype),u(j,h);const M=c(\"kOnFinished\");function x(e,t,r){\"boolean\"!=typeof r&&(r=t instanceof n(438)),this.objectMode=!(!e||!e.objectMode),r&&(this.objectMode=this.objectMode||!(!e||!e.writableObjectMode)),this.highWaterMark=e?_(this,e,\"writableHighWaterMark\",r):w(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;const o=!(!e||!1!==e.decodeStrings);this.decodeStrings=!o,this.defaultEncoding=e&&e.defaultEncoding||\"utf8\",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=$.bind(void 0,t),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,N(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!e||!1!==e.emitClose,this.autoDestroy=!e||!1!==e.autoDestroy,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[M]=[]}function N(e){e.buffered=[],e.bufferedIndex=0,e.allBuffers=!0,e.allNoop=!0}function j(e){const t=this instanceof n(438);if(!t&&!a(j,this))return new j(e);this._writableState=new x(e,this,t),e&&(\"function\"==typeof e.write&&(this._write=e.write),\"function\"==typeof e.writev&&(this._writev=e.writev),\"function\"==typeof e.destroy&&(this._destroy=e.destroy),\"function\"==typeof e.final&&(this._final=e.final),\"function\"==typeof e.construct&&(this._construct=e.construct),e.signal&&g(e.signal,this)),h.call(this,e),y.construct(this,(()=>{const e=this._writableState;e.writing||B(this,e),H(this,e)}))}function D(e,t,n,o){const i=e._writableState;if(\"function\"==typeof n)o=n,n=i.defaultEncoding;else{if(n){if(\"buffer\"!==n&&!p.isEncoding(n))throw new k(n)}else n=i.defaultEncoding;\"function\"!=typeof o&&(o=P)}if(null===t)throw new T;if(!i.objectMode)if(\"string\"==typeof t)!1!==i.decodeStrings&&(t=p.from(t,n),n=\"buffer\");else if(t instanceof p)n=\"buffer\";else{if(!h._isUint8Array(t))throw new m(\"chunk\",[\"string\",\"Buffer\",\"Uint8Array\"],t);t=h._uint8ArrayToBuffer(t),n=\"buffer\"}let a;return i.ending?a=new I:i.destroyed&&(a=new R(\"write\")),a?(r.nextTick(o,a),O(e,a,!0),a):(i.pendingcb++,function(e,t,n,r,o){const i=t.objectMode?1:n.length;t.length+=i;const a=t.length<t.highWaterMark;return a||(t.needDrain=!0),t.writing||t.corked||t.errored||!t.constructed?(t.buffered.push({chunk:n,encoding:r,callback:o}),t.allBuffers&&\"buffer\"!==r&&(t.allBuffers=!1),t.allNoop&&o!==P&&(t.allNoop=!1)):(t.writelen=i,t.writecb=o,t.writing=!0,t.sync=!0,e._write(n,r,t.onwrite),t.sync=!1),a&&!t.errored&&!t.destroyed}(e,i,t,n,o))}function L(e,t,n,r,o,i,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new R(\"write\")):n?e._writev(o,t.onwrite):e._write(o,i,t.onwrite),t.sync=!1}function W(e,t,n,r){--t.pendingcb,r(n),U(t),O(e,n)}function $(e,t){const n=e._writableState,o=n.sync,i=n.writecb;\"function\"==typeof i?(n.writing=!1,n.writecb=null,n.length-=n.writelen,n.writelen=0,t?(t.stack,n.errored||(n.errored=t),e._readableState&&!e._readableState.errored&&(e._readableState.errored=t),o?r.nextTick(W,e,n,t,i):W(e,n,t,i)):(n.buffered.length>n.bufferedIndex&&B(e,n),o?null!==n.afterWriteTickInfo&&n.afterWriteTickInfo.cb===i?n.afterWriteTickInfo.count++:(n.afterWriteTickInfo={count:1,cb:i,stream:e,state:n},r.nextTick(C,n.afterWriteTickInfo)):F(e,n,1,i))):O(e,new S)}function C({stream:e,state:t,count:n,cb:r}){return t.afterWriteTickInfo=null,F(e,t,n,r)}function F(e,t,n,r){for(!t.ending&&!e.destroyed&&0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit(\"drain\"));n-- >0;)t.pendingcb--,r();t.destroyed&&U(t),H(e,t)}function U(e){if(e.writing)return;for(let n=e.bufferedIndex;n<e.buffered.length;++n){var t;const{chunk:r,callback:o}=e.buffered[n],i=e.objectMode?1:r.length;e.length-=i,o(null!==(t=e.errored)&&void 0!==t?t:new R(\"write\"))}const n=e[M].splice(0);for(let t=0;t<n.length;t++){var r;n[t](null!==(r=e.errored)&&void 0!==r?r:new R(\"end\"))}N(e)}function B(e,t){if(t.corked||t.bufferProcessing||t.destroyed||!t.constructed)return;const{buffered:n,bufferedIndex:r,objectMode:i}=t,a=n.length-r;if(!a)return;let l=r;if(t.bufferProcessing=!0,a>1&&e._writev){t.pendingcb-=a-1;const r=t.allNoop?P:e=>{for(let t=l;t<n.length;++t)n[t].callback(e)},i=t.allNoop&&0===l?n:o(n,l);i.allBuffers=t.allBuffers,L(e,t,!0,t.length,i,\"\",r),N(t)}else{do{const{chunk:r,encoding:o,callback:a}=n[l];n[l++]=null,L(e,t,!1,i?1:r.length,r,o,a)}while(l<n.length&&!t.writing);l===n.length?N(t):l>256?(n.splice(0,l),t.bufferedIndex=0):t.bufferedIndex=l}t.bufferProcessing=!1}function G(e){return e.ending&&!e.destroyed&&e.constructed&&0===e.length&&!e.errored&&0===e.buffered.length&&!e.finished&&!e.writing&&!e.errorEmitted&&!e.closeEmitted}function H(e,t,n){G(t)&&(function(e,t){t.prefinished||t.finalCalled||(\"function\"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit(\"prefinish\")):(t.finalCalled=!0,function(e,t){let n=!1;function o(o){if(n)O(e,null!=o?o:S());else if(n=!0,t.pendingcb--,o){const n=t[M].splice(0);for(let e=0;e<n.length;e++)n[e](o);O(e,o,t.sync)}else G(t)&&(t.prefinished=!0,e.emit(\"prefinish\"),t.pendingcb++,r.nextTick(V,e,t))}t.sync=!0,t.pendingcb++;try{e._final(o)}catch(e){o(e)}t.sync=!1}(e,t)))}(e,t),0===t.pendingcb&&(n?(t.pendingcb++,r.nextTick(((e,t)=>{G(t)?V(e,t):t.pendingcb--}),e,t)):G(t)&&(t.pendingcb++,V(e,t))))}function V(e,t){t.pendingcb--,t.finished=!0;const n=t[M].splice(0);for(let e=0;e<n.length;e++)n[e]();if(e.emit(\"finish\"),t.autoDestroy){const t=e._readableState;(!t||t.autoDestroy&&(t.endEmitted||!1===t.readable))&&e.destroy()}}x.prototype.getBuffer=function(){return o(this.buffered,this.bufferedIndex)},l(x.prototype,\"bufferedRequestCount\",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}}),l(j,f,{__proto__:null,value:function(e){return!!a(this,e)||this===j&&e&&e._writableState instanceof x}}),j.prototype.pipe=function(){O(this,new v)},j.prototype.write=function(e,t,n){return!0===D(this,e,t,n)},j.prototype.cork=function(){this._writableState.corked++},j.prototype.uncork=function(){const e=this._writableState;e.corked&&(e.corked--,e.writing||B(this,e))},j.prototype.setDefaultEncoding=function(e){if(\"string\"==typeof e&&(e=d(e)),!p.isEncoding(e))throw new k(e);return this._writableState.defaultEncoding=e,this},j.prototype._write=function(e,t,n){if(!this._writev)throw new E(\"_write()\");this._writev([{chunk:e,encoding:t}],n)},j.prototype._writev=null,j.prototype.end=function(e,t,n){const o=this._writableState;let a;if(\"function\"==typeof e?(n=e,e=null,t=null):\"function\"==typeof t&&(n=t,t=null),null!=e){const n=D(this,e,t);n instanceof i&&(a=n)}return o.corked&&(o.corked=1,this.uncork()),a||(o.errored||o.ending?o.finished?a=new A(\"end\"):o.destroyed&&(a=new R(\"end\")):(o.ending=!0,H(this,o,!0),o.ended=!0)),\"function\"==typeof n&&(a||o.finished?r.nextTick(n,a):o[M].push(n)),this},s(j.prototype,{closed:{__proto__:null,get(){return!!this._writableState&&this._writableState.closed}},destroyed:{__proto__:null,get(){return!!this._writableState&&this._writableState.destroyed},set(e){this._writableState&&(this._writableState.destroyed=e)}},writable:{__proto__:null,get(){const e=this._writableState;return!(!e||!1===e.writable||e.destroyed||e.errored||e.ending||e.ended)},set(e){this._writableState&&(this._writableState.writable=!!e)}},writableFinished:{__proto__:null,get(){return!!this._writableState&&this._writableState.finished}},writableObjectMode:{__proto__:null,get(){return!!this._writableState&&this._writableState.objectMode}},writableBuffer:{__proto__:null,get(){return this._writableState&&this._writableState.getBuffer()}},writableEnded:{__proto__:null,get(){return!!this._writableState&&this._writableState.ending}},writableNeedDrain:{__proto__:null,get(){const e=this._writableState;return!!e&&!e.destroyed&&!e.ending&&e.needDrain}},writableHighWaterMark:{__proto__:null,get(){return this._writableState&&this._writableState.highWaterMark}},writableCorked:{__proto__:null,get(){return this._writableState?this._writableState.corked:0}},writableLength:{__proto__:null,get(){return this._writableState&&this._writableState.length}},errored:{__proto__:null,enumerable:!1,get(){return this._writableState?this._writableState.errored:null}},writableAborted:{__proto__:null,enumerable:!1,get:function(){return!(!1===this._writableState.writable||!this._writableState.destroyed&&!this._writableState.errored||this._writableState.finished)}}});const q=y.destroy;let Y;function K(){return void 0===Y&&(Y={}),Y}j.prototype.destroy=function(e,t){const n=this._writableState;return!n.destroyed&&(n.bufferedIndex<n.buffered.length||n[M].length)&&r.nextTick(U,n),q.call(this,e,t),this},j.prototype._undestroy=y.undestroy,j.prototype._destroy=function(e,t){t(e)},j.prototype[b.captureRejectionSymbol]=function(e){this.destroy(e)},j.fromWeb=function(e,t){return K().newStreamWritableFromWritableStream(e,t)},j.toWeb=function(e){return K().newWritableStreamFromStreamWritable(e)}},215:(e,t,n)=>{const{ArrayIsArray:r,ArrayPrototypeIncludes:o,ArrayPrototypeJoin:i,ArrayPrototypeMap:a,NumberIsInteger:l,NumberIsNaN:s,NumberMAX_SAFE_INTEGER:u,NumberMIN_SAFE_INTEGER:d,NumberParseInt:c,ObjectPrototypeHasOwnProperty:f,RegExpPrototypeExec:b,String:h,StringPrototypeToUpperCase:p,StringPrototypeTrim:y}=n(557),{hideStackFrames:g,codes:{ERR_SOCKET_BAD_PORT:_,ERR_INVALID_ARG_TYPE:w,ERR_INVALID_ARG_VALUE:m,ERR_OUT_OF_RANGE:E,ERR_UNKNOWN_SIGNAL:S}}=n(994),{normalizeEncoding:v}=n(501),{isAsyncFunction:R,isArrayBufferView:A}=n(501).types,T={},I=/^[0-7]+$/,k=g(((e,t,n=d,r=u)=>{if(\"number\"!=typeof e)throw new w(t,\"number\",e);if(!l(e))throw new E(t,\"an integer\",e);if(e<n||e>r)throw new E(t,`>= ${n} && <= ${r}`,e)})),O=g(((e,t,n=-2147483648,r=2147483647)=>{if(\"number\"!=typeof e)throw new w(t,\"number\",e);if(!l(e))throw new E(t,\"an integer\",e);if(e<n||e>r)throw new E(t,`>= ${n} && <= ${r}`,e)})),P=g(((e,t,n=!1)=>{if(\"number\"!=typeof e)throw new w(t,\"number\",e);if(!l(e))throw new E(t,\"an integer\",e);const r=n?1:0,o=4294967295;if(e<r||e>o)throw new E(t,`>= ${r} && <= ${o}`,e)}));function M(e,t){if(\"string\"!=typeof e)throw new w(t,\"string\",e)}const x=g(((e,t,n)=>{if(!o(n,e)){const r=i(a(n,(e=>\"string\"==typeof e?`'${e}'`:h(e))),\", \");throw new m(t,e,\"must be one of: \"+r)}}));function N(e,t,n){return null!=e&&f(e,t)?e[t]:n}const j=g(((e,t,n=null)=>{const o=N(n,\"allowArray\",!1),i=N(n,\"allowFunction\",!1);if(!N(n,\"nullable\",!1)&&null===e||!o&&r(e)||\"object\"!=typeof e&&(!i||\"function\"!=typeof e))throw new w(t,\"Object\",e)})),D=g(((e,t,n=0)=>{if(!r(e))throw new w(t,\"Array\",e);if(e.length<n)throw new m(t,e,`must be longer than ${n}`)})),L=g(((e,t=\"buffer\")=>{if(!A(e))throw new w(t,[\"Buffer\",\"TypedArray\",\"DataView\"],e)})),W=g(((e,t)=>{if(void 0!==e&&(null===e||\"object\"!=typeof e||!(\"aborted\"in e)))throw new w(t,\"AbortSignal\",e)})),$=g(((e,t)=>{if(\"function\"!=typeof e)throw new w(t,\"Function\",e)})),C=g(((e,t)=>{if(\"function\"!=typeof e||R(e))throw new w(t,\"Function\",e)})),F=g(((e,t)=>{if(void 0!==e)throw new w(t,\"undefined\",e)}));e.exports={isInt32:function(e){return e===(0|e)},isUint32:function(e){return e===e>>>0},parseFileMode:function(e,t,n){if(void 0===e&&(e=n),\"string\"==typeof e){if(null===b(I,e))throw new m(t,e,\"must be a 32-bit unsigned integer or an octal string\");e=c(e,8)}return P(e,t),e},validateArray:D,validateBoolean:function(e,t){if(\"boolean\"!=typeof e)throw new w(t,\"boolean\",e)},validateBuffer:L,validateEncoding:function(e,t){const n=v(t),r=e.length;if(\"hex\"===n&&r%2!=0)throw new m(\"encoding\",t,`is invalid for data of length ${r}`)},validateFunction:$,validateInt32:O,validateInteger:k,validateNumber:function(e,t,n=void 0,r){if(\"number\"!=typeof e)throw new w(t,\"number\",e);if(null!=n&&e<n||null!=r&&e>r||(null!=n||null!=r)&&s(e))throw new E(t,`${null!=n?`>= ${n}`:\"\"}${null!=n&&null!=r?\" && \":\"\"}${null!=r?`<= ${r}`:\"\"}`,e)},validateObject:j,validateOneOf:x,validatePlainFunction:C,validatePort:function(e,t=\"Port\",n=!0){if(\"number\"!=typeof e&&\"string\"!=typeof e||\"string\"==typeof e&&0===y(e).length||+e!=+e>>>0||e>65535||0===e&&!n)throw new _(t,e,n);return 0|e},validateSignalName:function(e,t=\"signal\"){if(M(e,t),void 0===T[e]){if(void 0!==T[p(e)])throw new S(e+\" (signals must use all capital letters)\");throw new S(e)}},validateString:M,validateUint32:P,validateUndefined:F,validateUnion:function(e,t,n){if(!o(n,e))throw new w(t,`('${i(n,\"|\")}')`,e)},validateAbortSignal:W}},994:(e,t,n)=>{const{format:r,inspect:o,AggregateError:i}=n(501),a=globalThis.AggregateError||i,l=Symbol(\"kIsNodeError\"),s=[\"string\",\"function\",\"number\",\"object\",\"Function\",\"Object\",\"boolean\",\"bigint\",\"symbol\"],u=/^([A-Z][a-z0-9]*)+$/,d={};function c(e,t){if(!e)throw new d.ERR_INTERNAL_ASSERTION(t)}function f(e){let t=\"\",n=e.length;const r=\"-\"===e[0]?1:0;for(;n>=r+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function b(e,t,n){n||(n=Error);class o extends n{constructor(...n){super(function(e,t,n){if(\"function\"==typeof t)return c(t.length<=n.length,`Code: ${e}; The provided arguments length (${n.length}) does not match the required ones (${t.length}).`),t(...n);const o=(t.match(/%[dfijoOs]/g)||[]).length;return c(o===n.length,`Code: ${e}; The provided arguments length (${n.length}) does not match the required ones (${o}).`),0===n.length?t:r(t,...n)}(e,t,n))}toString(){return`${this.name} [${e}]: ${this.message}`}}Object.defineProperties(o.prototype,{name:{value:n.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${e}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),o.prototype.code=e,o.prototype[l]=!0,d[e]=o}function h(e){const t=\"__node_internal_\"+e.name;return Object.defineProperty(e,\"name\",{value:t}),e}class p extends Error{constructor(e=\"The operation was aborted\",t=void 0){if(void 0!==t&&\"object\"!=typeof t)throw new d.ERR_INVALID_ARG_TYPE(\"options\",\"Object\",t);super(e,t),this.code=\"ABORT_ERR\",this.name=\"AbortError\"}}b(\"ERR_ASSERTION\",\"%s\",Error),b(\"ERR_INVALID_ARG_TYPE\",((e,t,n)=>{c(\"string\"==typeof e,\"'name' must be a string\"),Array.isArray(t)||(t=[t]);let r=\"The \";e.endsWith(\" argument\")?r+=`${e} `:r+=`\"${e}\" ${e.includes(\".\")?\"property\":\"argument\"} `,r+=\"must be \";const i=[],a=[],l=[];for(const e of t)c(\"string\"==typeof e,\"All expected entries have to be of type string\"),s.includes(e)?i.push(e.toLowerCase()):u.test(e)?a.push(e):(c(\"object\"!==e,'The value \"object\" should be written as \"Object\"'),l.push(e));if(a.length>0){const e=i.indexOf(\"object\");-1!==e&&(i.splice(i,e,1),a.push(\"Object\"))}if(i.length>0){switch(i.length){case 1:r+=`of type ${i[0]}`;break;case 2:r+=`one of type ${i[0]} or ${i[1]}`;break;default:{const e=i.pop();r+=`one of type ${i.join(\", \")}, or ${e}`}}(a.length>0||l.length>0)&&(r+=\" or \")}if(a.length>0){switch(a.length){case 1:r+=`an instance of ${a[0]}`;break;case 2:r+=`an instance of ${a[0]} or ${a[1]}`;break;default:{const e=a.pop();r+=`an instance of ${a.join(\", \")}, or ${e}`}}l.length>0&&(r+=\" or \")}switch(l.length){case 0:break;case 1:l[0].toLowerCase()!==l[0]&&(r+=\"an \"),r+=`${l[0]}`;break;case 2:r+=`one of ${l[0]} or ${l[1]}`;break;default:{const e=l.pop();r+=`one of ${l.join(\", \")}, or ${e}`}}if(null==n)r+=`. Received ${n}`;else if(\"function\"==typeof n&&n.name)r+=`. Received function ${n.name}`;else if(\"object\"==typeof n){var d;null!==(d=n.constructor)&&void 0!==d&&d.name?r+=`. Received an instance of ${n.constructor.name}`:r+=`. Received ${o(n,{depth:-1})}`}else{let e=o(n,{colors:!1});e.length>25&&(e=`${e.slice(0,25)}...`),r+=`. Received type ${typeof n} (${e})`}return r}),TypeError),b(\"ERR_INVALID_ARG_VALUE\",((e,t,n=\"is invalid\")=>{let r=o(t);return r.length>128&&(r=r.slice(0,128)+\"...\"),`The ${e.includes(\".\")?\"property\":\"argument\"} '${e}' ${n}. Received ${r}`}),TypeError),b(\"ERR_INVALID_RETURN_VALUE\",((e,t,n)=>{var r;return`Expected ${e} to be returned from the \"${t}\" function but got ${null!=n&&null!==(r=n.constructor)&&void 0!==r&&r.name?`instance of ${n.constructor.name}`:\"type \"+typeof n}.`}),TypeError),b(\"ERR_MISSING_ARGS\",((...e)=>{let t;c(e.length>0,\"At least one arg needs to be specified\");const n=e.length;switch(e=(Array.isArray(e)?e:[e]).map((e=>`\"${e}\"`)).join(\" or \"),n){case 1:t+=`The ${e[0]} argument`;break;case 2:t+=`The ${e[0]} and ${e[1]} arguments`;break;default:{const n=e.pop();t+=`The ${e.join(\", \")}, and ${n} arguments`}}return`${t} must be specified`}),TypeError),b(\"ERR_OUT_OF_RANGE\",((e,t,n)=>{let r;return c(t,'Missing \"range\" argument'),Number.isInteger(n)&&Math.abs(n)>2**32?r=f(String(n)):\"bigint\"==typeof n?(r=String(n),(n>2n**32n||n<-(2n**32n))&&(r=f(r)),r+=\"n\"):r=o(n),`The value of \"${e}\" is out of range. It must be ${t}. Received ${r}`}),RangeError),b(\"ERR_MULTIPLE_CALLBACK\",\"Callback called multiple times\",Error),b(\"ERR_METHOD_NOT_IMPLEMENTED\",\"The %s method is not implemented\",Error),b(\"ERR_STREAM_ALREADY_FINISHED\",\"Cannot call %s after a stream was finished\",Error),b(\"ERR_STREAM_CANNOT_PIPE\",\"Cannot pipe, not readable\",Error),b(\"ERR_STREAM_DESTROYED\",\"Cannot call %s after a stream was destroyed\",Error),b(\"ERR_STREAM_NULL_VALUES\",\"May not write null values to stream\",TypeError),b(\"ERR_STREAM_PREMATURE_CLOSE\",\"Premature close\",Error),b(\"ERR_STREAM_PUSH_AFTER_EOF\",\"stream.push() after EOF\",Error),b(\"ERR_STREAM_UNSHIFT_AFTER_END_EVENT\",\"stream.unshift() after end event\",Error),b(\"ERR_STREAM_WRITE_AFTER_END\",\"write after end\",Error),b(\"ERR_UNKNOWN_ENCODING\",\"Unknown encoding: %s\",TypeError),e.exports={AbortError:p,aggregateTwoErrors:h((function(e,t){if(e&&t&&e!==t){if(Array.isArray(t.errors))return t.errors.push(e),t;const n=new a([t,e],t.message);return n.code=t.code,n}return e||t})),hideStackFrames:h,codes:d}},557:e=>{e.exports={ArrayIsArray:e=>Array.isArray(e),ArrayPrototypeIncludes:(e,t)=>e.includes(t),ArrayPrototypeIndexOf:(e,t)=>e.indexOf(t),ArrayPrototypeJoin:(e,t)=>e.join(t),ArrayPrototypeMap:(e,t)=>e.map(t),ArrayPrototypePop:(e,t)=>e.pop(t),ArrayPrototypePush:(e,t)=>e.push(t),ArrayPrototypeSlice:(e,t,n)=>e.slice(t,n),Error,FunctionPrototypeCall:(e,t,...n)=>e.call(t,...n),FunctionPrototypeSymbolHasInstance:(e,t)=>Function.prototype[Symbol.hasInstance].call(e,t),MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties:(e,t)=>Object.defineProperties(e,t),ObjectDefineProperty:(e,t,n)=>Object.defineProperty(e,t,n),ObjectGetOwnPropertyDescriptor:(e,t)=>Object.getOwnPropertyDescriptor(e,t),ObjectKeys:e=>Object.keys(e),ObjectSetPrototypeOf:(e,t)=>Object.setPrototypeOf(e,t),Promise,PromisePrototypeCatch:(e,t)=>e.catch(t),PromisePrototypeThen:(e,t,n)=>e.then(t,n),PromiseReject:e=>Promise.reject(e),ReflectApply:Reflect.apply,RegExpPrototypeTest:(e,t)=>e.test(t),SafeSet:Set,String,StringPrototypeSlice:(e,t,n)=>e.slice(t,n),StringPrototypeToLowerCase:e=>e.toLowerCase(),StringPrototypeToUpperCase:e=>e.toUpperCase(),StringPrototypeTrim:e=>e.trim(),Symbol,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,TypedArrayPrototypeSet:(e,t,n)=>e.set(t,n),Uint8Array}},501:(e,t,n)=>{const r=n(368),o=Object.getPrototypeOf((async function(){})).constructor,i=globalThis.Blob||r.Blob,a=void 0!==i?function(e){return e instanceof i}:function(e){return!1};class l extends Error{constructor(e){if(!Array.isArray(e))throw new TypeError(\"Expected input to be an Array, got \"+typeof e);let t=\"\";for(let n=0;n<e.length;n++)t+=`    ${e[n].stack}\\n`;super(t),this.name=\"AggregateError\",this.errors=e}}e.exports={AggregateError:l,kEmptyObject:Object.freeze({}),once(e){let t=!1;return function(...n){t||(t=!0,e.apply(this,n))}},createDeferredPromise:function(){let e,t;return{promise:new Promise(((n,r)=>{e=n,t=r})),resolve:e,reject:t}},promisify:e=>new Promise(((t,n)=>{e(((e,...r)=>e?n(e):t(...r)))})),debuglog:()=>function(){},format:(e,...t)=>e.replace(/%([sdifj])/g,(function(...[e,n]){const r=t.shift();return\"f\"===n?r.toFixed(6):\"j\"===n?JSON.stringify(r):\"s\"===n&&\"object\"==typeof r?`${r.constructor!==Object?r.constructor.name:\"\"} {}`.trim():r.toString()})),inspect(e){switch(typeof e){case\"string\":if(e.includes(\"'\")){if(!e.includes('\"'))return`\"${e}\"`;if(!e.includes(\"`\")&&!e.includes(\"${\"))return`\\`${e}\\``}return`'${e}'`;case\"number\":return isNaN(e)?\"NaN\":Object.is(e,-0)?String(e):e;case\"bigint\":return`${String(e)}n`;case\"boolean\":case\"undefined\":return String(e);case\"object\":return\"{}\"}},types:{isAsyncFunction:e=>e instanceof o,isArrayBufferView:e=>ArrayBuffer.isView(e)},isBlob:a},e.exports.promisify.custom=Symbol.for(\"nodejs.util.promisify.custom\")},957:(e,t,n)=>{const{Buffer:r}=n(368),{ObjectDefineProperty:o,ObjectKeys:i,ReflectApply:a}=n(557),{promisify:{custom:l}}=n(501),{streamReturningOperators:s,promiseReturningOperators:u}=n(723),{codes:{ERR_ILLEGAL_CONSTRUCTOR:d}}=n(994),c=n(262),{pipeline:f}=n(792),{destroyer:b}=n(701),h=n(355),p=n(523),y=n(433),g=e.exports=n(693).Stream;g.isDisturbed=y.isDisturbed,g.isErrored=y.isErrored,g.isReadable=y.isReadable,g.Readable=n(392);for(const m of i(s)){const E=s[m];function _(...e){if(new.target)throw d();return g.Readable.from(a(E,this,e))}o(_,\"name\",{__proto__:null,value:E.name}),o(_,\"length\",{__proto__:null,value:E.length}),o(g.Readable.prototype,m,{__proto__:null,value:_,enumerable:!1,configurable:!0,writable:!0})}for(const S of i(u)){const v=u[S];function _(...e){if(new.target)throw d();return a(v,this,e)}o(_,\"name\",{__proto__:null,value:v.name}),o(_,\"length\",{__proto__:null,value:v.length}),o(g.Readable.prototype,S,{__proto__:null,value:_,enumerable:!1,configurable:!0,writable:!0})}g.Writable=n(772),g.Duplex=n(438),g.Transform=n(744),g.PassThrough=n(107),g.pipeline=f;const{addAbortSignal:w}=n(920);g.addAbortSignal=w,g.finished=h,g.destroy=b,g.compose=c,o(g,\"promises\",{__proto__:null,configurable:!0,enumerable:!0,get:()=>p}),o(f,l,{__proto__:null,enumerable:!0,get:()=>p.pipeline}),o(h,l,{__proto__:null,enumerable:!0,get:()=>p.finished}),g.Stream=g,g._isUint8Array=function(e){return e instanceof Uint8Array},g._uint8ArrayToBuffer=function(e){return r.from(e.buffer,e.byteOffset,e.byteLength)}},523:(e,t,n)=>{const{ArrayPrototypePop:r,Promise:o}=n(557),{isIterable:i,isNodeStream:a}=n(433),{pipelineImpl:l}=n(792),{finished:s}=n(355);e.exports={finished:s,pipeline:function(...e){return new o(((t,n)=>{let o,s;const u=e[e.length-1];if(u&&\"object\"==typeof u&&!a(u)&&!i(u)){const t=r(e);o=t.signal,s=t.end}l(e,((e,r)=>{e?n(e):t(r)}),{signal:o,end:s})}))}}},499:(e,t,n)=>{Object.defineProperty(t,\"__esModule\",{value:!0});var r=n(911);class o extends r.EventTarget{constructor(){throw super(),new TypeError(\"AbortSignal cannot be constructed directly\")}get aborted(){const e=i.get(this);if(\"boolean\"!=typeof e)throw new TypeError(\"Expected 'this' to be an 'AbortSignal' object, but got \"+(null===this?\"null\":typeof this));return e}}r.defineEventAttribute(o.prototype,\"abort\");const i=new WeakMap;Object.defineProperties(o.prototype,{aborted:{enumerable:!0}}),\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.toStringTag&&Object.defineProperty(o.prototype,Symbol.toStringTag,{configurable:!0,value:\"AbortSignal\"});class a{constructor(){l.set(this,function(){const e=Object.create(o.prototype);return r.EventTarget.call(e),i.set(e,!1),e}())}get signal(){return s(this)}abort(){var e;e=s(this),!1===i.get(e)&&(i.set(e,!0),e.dispatchEvent({type:\"abort\"}))}}const l=new WeakMap;function s(e){const t=l.get(e);if(null==t)throw new TypeError(\"Expected 'this' to be an 'AbortController' object, but got \"+(null===e?\"null\":typeof e));return t}Object.defineProperties(a.prototype,{signal:{enumerable:!0},abort:{enumerable:!0}}),\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.toStringTag&&Object.defineProperty(a.prototype,Symbol.toStringTag,{configurable:!0,value:\"AbortController\"}),t.AbortController=a,t.AbortSignal=o,t.default=a,e.exports=a,e.exports.AbortController=e.exports.default=a,e.exports.AbortSignal=o},911:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:!0});const n=new WeakMap,r=new WeakMap;function o(e){const t=n.get(e);return console.assert(null!=t,\"'this' is expected an Event object, but got\",e),t}function i(e){null==e.passiveListener?e.event.cancelable&&(e.canceled=!0,\"function\"==typeof e.event.preventDefault&&e.event.preventDefault()):\"undefined\"!=typeof console&&\"function\"==typeof console.error&&console.error(\"Unable to preventDefault inside passive event listener invocation.\",e.passiveListener)}function a(e,t){n.set(this,{eventTarget:e,event:t,eventPhase:2,currentTarget:e,canceled:!1,stopped:!1,immediateStopped:!1,passiveListener:null,timeStamp:t.timeStamp||Date.now()}),Object.defineProperty(this,\"isTrusted\",{value:!1,enumerable:!0});const r=Object.keys(t);for(let e=0;e<r.length;++e){const t=r[e];t in this||Object.defineProperty(this,t,l(t))}}function l(e){return{get(){return o(this).event[e]},set(t){o(this).event[e]=t},configurable:!0,enumerable:!0}}function s(e){return{value(){const t=o(this).event;return t[e].apply(t,arguments)},configurable:!0,enumerable:!0}}function u(e){if(null==e||e===Object.prototype)return a;let t=r.get(e);return null==t&&(t=function(e,t){const n=Object.keys(t);if(0===n.length)return e;function r(t,n){e.call(this,t,n)}r.prototype=Object.create(e.prototype,{constructor:{value:r,configurable:!0,writable:!0}});for(let o=0;o<n.length;++o){const i=n[o];if(!(i in e.prototype)){const e=\"function\"==typeof Object.getOwnPropertyDescriptor(t,i).value;Object.defineProperty(r.prototype,i,e?s(i):l(i))}}return r}(u(Object.getPrototypeOf(e)),e),r.set(e,t)),t}function d(e){return o(e).immediateStopped}function c(e,t){o(e).passiveListener=t}a.prototype={get type(){return o(this).event.type},get target(){return o(this).eventTarget},get currentTarget(){return o(this).currentTarget},composedPath(){const e=o(this).currentTarget;return null==e?[]:[e]},get NONE(){return 0},get CAPTURING_PHASE(){return 1},get AT_TARGET(){return 2},get BUBBLING_PHASE(){return 3},get eventPhase(){return o(this).eventPhase},stopPropagation(){const e=o(this);e.stopped=!0,\"function\"==typeof e.event.stopPropagation&&e.event.stopPropagation()},stopImmediatePropagation(){const e=o(this);e.stopped=!0,e.immediateStopped=!0,\"function\"==typeof e.event.stopImmediatePropagation&&e.event.stopImmediatePropagation()},get bubbles(){return Boolean(o(this).event.bubbles)},get cancelable(){return Boolean(o(this).event.cancelable)},preventDefault(){i(o(this))},get defaultPrevented(){return o(this).canceled},get composed(){return Boolean(o(this).event.composed)},get timeStamp(){return o(this).timeStamp},get srcElement(){return o(this).eventTarget},get cancelBubble(){return o(this).stopped},set cancelBubble(e){if(!e)return;const t=o(this);t.stopped=!0,\"boolean\"==typeof t.event.cancelBubble&&(t.event.cancelBubble=!0)},get returnValue(){return!o(this).canceled},set returnValue(e){e||i(o(this))},initEvent(){}},Object.defineProperty(a.prototype,\"constructor\",{value:a,configurable:!0,writable:!0}),\"undefined\"!=typeof window&&void 0!==window.Event&&(Object.setPrototypeOf(a.prototype,window.Event.prototype),r.set(window.Event.prototype,a));const f=new WeakMap,b=3;function h(e){return null!==e&&\"object\"==typeof e}function p(e){const t=f.get(e);if(null==t)throw new TypeError(\"'this' is expected an EventTarget object, but got another value.\");return t}function y(e,t){Object.defineProperty(e,`on${t}`,function(e){return{get(){let t=p(this).get(e);for(;null!=t;){if(t.listenerType===b)return t.listener;t=t.next}return null},set(t){\"function\"==typeof t||h(t)||(t=null);const n=p(this);let r=null,o=n.get(e);for(;null!=o;)o.listenerType===b?null!==r?r.next=o.next:null!==o.next?n.set(e,o.next):n.delete(e):r=o,o=o.next;if(null!==t){const o={listener:t,listenerType:b,passive:!1,once:!1,next:null};null===r?n.set(e,o):r.next=o}},configurable:!0,enumerable:!0}}(t))}function g(e){function t(){_.call(this)}t.prototype=Object.create(_.prototype,{constructor:{value:t,configurable:!0,writable:!0}});for(let n=0;n<e.length;++n)y(t.prototype,e[n]);return t}function _(){if(!(this instanceof _)){if(1===arguments.length&&Array.isArray(arguments[0]))return g(arguments[0]);if(arguments.length>0){const e=new Array(arguments.length);for(let t=0;t<arguments.length;++t)e[t]=arguments[t];return g(e)}throw new TypeError(\"Cannot call a class as a function\")}f.set(this,new Map)}_.prototype={addEventListener(e,t,n){if(null==t)return;if(\"function\"!=typeof t&&!h(t))throw new TypeError(\"'listener' should be a function or an object.\");const r=p(this),o=h(n),i=(o?Boolean(n.capture):Boolean(n))?1:2,a={listener:t,listenerType:i,passive:o&&Boolean(n.passive),once:o&&Boolean(n.once),next:null};let l=r.get(e);if(void 0===l)return void r.set(e,a);let s=null;for(;null!=l;){if(l.listener===t&&l.listenerType===i)return;s=l,l=l.next}s.next=a},removeEventListener(e,t,n){if(null==t)return;const r=p(this),o=(h(n)?Boolean(n.capture):Boolean(n))?1:2;let i=null,a=r.get(e);for(;null!=a;){if(a.listener===t&&a.listenerType===o)return void(null!==i?i.next=a.next:null!==a.next?r.set(e,a.next):r.delete(e));i=a,a=a.next}},dispatchEvent(e){if(null==e||\"string\"!=typeof e.type)throw new TypeError('\"event.type\" should be a string.');const t=p(this),n=e.type;let r=t.get(n);if(null==r)return!0;const i=function(e,t){return new(u(Object.getPrototypeOf(t)))(e,t)}(this,e);let a=null;for(;null!=r;){if(r.once?null!==a?a.next=r.next:null!==r.next?t.set(n,r.next):t.delete(n):a=r,c(i,r.passive?r.listener:null),\"function\"==typeof r.listener)try{r.listener.call(this,i)}catch(e){\"undefined\"!=typeof console&&\"function\"==typeof console.error&&console.error(e)}else r.listenerType!==b&&\"function\"==typeof r.listener.handleEvent&&r.listener.handleEvent(i);if(d(i))break;r=r.next}return c(i,null),function(e,t){o(e).eventPhase=0}(i),function(e,t){o(e).currentTarget=null}(i),!i.defaultPrevented}},Object.defineProperty(_.prototype,\"constructor\",{value:_,configurable:!0,writable:!0}),\"undefined\"!=typeof window&&void 0!==window.EventTarget&&Object.setPrototypeOf(_.prototype,window.EventTarget.prototype),t.defineEventAttribute=y,t.EventTarget=_,t.default=_,e.exports=_,e.exports.EventTarget=e.exports.default=_,e.exports.defineEventAttribute=y},368:t=>{t.exports=e},178:e=>{e.exports=t},394:e=>{e.exports=n},888:e=>{e.exports=r}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={exports:{}};return o[e](n,n.exports,a),n.exports}var l={};(()=>{var e=l;const t=a(957),n=t.Readable.destroy;e.CT=t._isUint8Array,e.q8=t.isDisturbed,e.o6=t.isErrored,e.FA=t.isReadable,e.$M=t.Readable,e.cK=t.Writable,e.$P=t.Duplex,e.wx=t.Transform,e.ze=t.PassThrough,e.iy=t.addAbortSignal,e.V3=t.finished,e.ob=t.destroy,e.ob=n,e.EU=t.pipeline,e.qC=t.compose})();var s=l.$P,u=l.ze,d=l.$M,c=l.wx,f=l.cK,b=l.CT,h=l.iy,p=l.qC,y=l.ob,g=l.V3,_=l.q8,w=l.o6,m=l.FA,E=l.EU;export{s as Duplex,u as PassThrough,d as Readable,c as Transform,f as Writable,b as _isUint8Array,h as addAbortSignal,p as compose,y as destroy,g as finished,_ as isDisturbed,w as isErrored,m as isReadable,E as pipeline};","querystring.js":"import require$$0 from 'util';\nimport require$$1 from 'buffer';\n\nfunction _typeof(obj) {\n  \"@babel/helpers - typeof\";\n\n  return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n    return typeof obj;\n  } : function (obj) {\n    return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n  }, _typeof(obj);\n}\n\nvar commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};\n\nfunction getDefaultExportFromCjs (x) {\n\treturn x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;\n}\n\nvar querystring$1 = {exports: {}};\n\n/* eslint no-invalid-this: 1 */\n\nvar ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';\nvar slice$1 = Array.prototype.slice;\nvar toStr$4 = Object.prototype.toString;\nvar funcType = '[object Function]';\nvar implementation$8 = function bind(that) {\n  var target = this;\n  if (typeof target !== 'function' || toStr$4.call(target) !== funcType) {\n    throw new TypeError(ERROR_MESSAGE + target);\n  }\n  var args = slice$1.call(arguments, 1);\n  var bound;\n  var binder = function binder() {\n    if (this instanceof bound) {\n      var result = target.apply(this, args.concat(slice$1.call(arguments)));\n      if (Object(result) === result) {\n        return result;\n      }\n      return this;\n    } else {\n      return target.apply(that, args.concat(slice$1.call(arguments)));\n    }\n  };\n  var boundLength = Math.max(0, target.length - args.length);\n  var boundArgs = [];\n  for (var i = 0; i < boundLength; i++) {\n    boundArgs.push('$' + i);\n  }\n  bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);\n  if (target.prototype) {\n    var Empty = function Empty() {};\n    Empty.prototype = target.prototype;\n    bound.prototype = new Empty();\n    Empty.prototype = null;\n  }\n  return bound;\n};\n\nvar implementation$7 = implementation$8;\nvar functionBind = Function.prototype.bind || implementation$7;\n\nvar toStr$3 = Object.prototype.toString;\nvar isArguments = function isArguments(value) {\n  var str = toStr$3.call(value);\n  var isArgs = str === '[object Arguments]';\n  if (!isArgs) {\n    isArgs = str !== '[object Array]' && value !== null && _typeof(value) === 'object' && typeof value.length === 'number' && value.length >= 0 && toStr$3.call(value.callee) === '[object Function]';\n  }\n  return isArgs;\n};\n\nvar implementation$6;\nvar hasRequiredImplementation;\nfunction requireImplementation() {\n  if (hasRequiredImplementation) return implementation$6;\n  hasRequiredImplementation = 1;\n  var keysShim;\n  if (!Object.keys) {\n    // modified from https://github.com/es-shims/es5-shim\n    var has = Object.prototype.hasOwnProperty;\n    var toStr = Object.prototype.toString;\n    var isArgs = isArguments; // eslint-disable-line global-require\n    var isEnumerable = Object.prototype.propertyIsEnumerable;\n    var hasDontEnumBug = !isEnumerable.call({\n      toString: null\n    }, 'toString');\n    var hasProtoEnumBug = isEnumerable.call(function () {}, 'prototype');\n    var dontEnums = ['toString', 'toLocaleString', 'valueOf', 'hasOwnProperty', 'isPrototypeOf', 'propertyIsEnumerable', 'constructor'];\n    var equalsConstructorPrototype = function equalsConstructorPrototype(o) {\n      var ctor = o.constructor;\n      return ctor && ctor.prototype === o;\n    };\n    var excludedKeys = {\n      $applicationCache: true,\n      $console: true,\n      $external: true,\n      $frame: true,\n      $frameElement: true,\n      $frames: true,\n      $innerHeight: true,\n      $innerWidth: true,\n      $onmozfullscreenchange: true,\n      $onmozfullscreenerror: true,\n      $outerHeight: true,\n      $outerWidth: true,\n      $pageXOffset: true,\n      $pageYOffset: true,\n      $parent: true,\n      $scrollLeft: true,\n      $scrollTop: true,\n      $scrollX: true,\n      $scrollY: true,\n      $self: true,\n      $webkitIndexedDB: true,\n      $webkitStorageInfo: true,\n      $window: true\n    };\n    var hasAutomationEqualityBug = function () {\n      /* global window */\n      if (typeof window === 'undefined') {\n        return false;\n      }\n      for (var k in window) {\n        try {\n          if (!excludedKeys['$' + k] && has.call(window, k) && window[k] !== null && _typeof(window[k]) === 'object') {\n            try {\n              equalsConstructorPrototype(window[k]);\n            } catch (e) {\n              return true;\n            }\n          }\n        } catch (e) {\n          return true;\n        }\n      }\n      return false;\n    }();\n    var equalsConstructorPrototypeIfNotBuggy = function equalsConstructorPrototypeIfNotBuggy(o) {\n      /* global window */\n      if (typeof window === 'undefined' || !hasAutomationEqualityBug) {\n        return equalsConstructorPrototype(o);\n      }\n      try {\n        return equalsConstructorPrototype(o);\n      } catch (e) {\n        return false;\n      }\n    };\n    keysShim = function keys(object) {\n      var isObject = object !== null && _typeof(object) === 'object';\n      var isFunction = toStr.call(object) === '[object Function]';\n      var isArguments = isArgs(object);\n      var isString = isObject && toStr.call(object) === '[object String]';\n      var theKeys = [];\n      if (!isObject && !isFunction && !isArguments) {\n        throw new TypeError('Object.keys called on a non-object');\n      }\n      var skipProto = hasProtoEnumBug && isFunction;\n      if (isString && object.length > 0 && !has.call(object, 0)) {\n        for (var i = 0; i < object.length; ++i) {\n          theKeys.push(String(i));\n        }\n      }\n      if (isArguments && object.length > 0) {\n        for (var j = 0; j < object.length; ++j) {\n          theKeys.push(String(j));\n        }\n      } else {\n        for (var name in object) {\n          if (!(skipProto && name === 'prototype') && has.call(object, name)) {\n            theKeys.push(String(name));\n          }\n        }\n      }\n      if (hasDontEnumBug) {\n        var skipConstructor = equalsConstructorPrototypeIfNotBuggy(object);\n        for (var k = 0; k < dontEnums.length; ++k) {\n          if (!(skipConstructor && dontEnums[k] === 'constructor') && has.call(object, dontEnums[k])) {\n            theKeys.push(dontEnums[k]);\n          }\n        }\n      }\n      return theKeys;\n    };\n  }\n  implementation$6 = keysShim;\n  return implementation$6;\n}\n\nvar slice = Array.prototype.slice;\nvar isArgs = isArguments;\nvar origKeys = Object.keys;\nvar keysShim = origKeys ? function keys(o) {\n  return origKeys(o);\n} : requireImplementation();\nvar originalKeys = Object.keys;\nkeysShim.shim = function shimObjectKeys() {\n  if (Object.keys) {\n    var keysWorksWithArguments = function () {\n      // Safari 5.0 bug\n      var args = Object.keys(arguments);\n      return args && args.length === arguments.length;\n    }(1, 2);\n    if (!keysWorksWithArguments) {\n      Object.keys = function keys(object) {\n        // eslint-disable-line func-name-matching\n        if (isArgs(object)) {\n          return originalKeys(slice.call(object));\n        }\n        return originalKeys(object);\n      };\n    }\n  } else {\n    Object.keys = keysShim;\n  }\n  return Object.keys || keysShim;\n};\nvar objectKeys = keysShim;\n\n/* eslint complexity: [2, 18], max-statements: [2, 33] */\nvar shams$1 = function hasSymbols() {\n  if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') {\n    return false;\n  }\n  if (_typeof(Symbol.iterator) === 'symbol') {\n    return true;\n  }\n  var obj = {};\n  var sym = Symbol('test');\n  var symObj = Object(sym);\n  if (typeof sym === 'string') {\n    return false;\n  }\n  if (Object.prototype.toString.call(sym) !== '[object Symbol]') {\n    return false;\n  }\n  if (Object.prototype.toString.call(symObj) !== '[object Symbol]') {\n    return false;\n  }\n\n  // temp disabled per https://github.com/ljharb/object.assign/issues/17\n  // if (sym instanceof Symbol) { return false; }\n  // temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n  // if (!(symObj instanceof Symbol)) { return false; }\n\n  // if (typeof Symbol.prototype.toString !== 'function') { return false; }\n  // if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n  var symVal = 42;\n  obj[sym] = symVal;\n  for (sym in obj) {\n    return false;\n  } // eslint-disable-line no-restricted-syntax, no-unreachable-loop\n  if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) {\n    return false;\n  }\n  if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) {\n    return false;\n  }\n  var syms = Object.getOwnPropertySymbols(obj);\n  if (syms.length !== 1 || syms[0] !== sym) {\n    return false;\n  }\n  if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) {\n    return false;\n  }\n  if (typeof Object.getOwnPropertyDescriptor === 'function') {\n    var descriptor = Object.getOwnPropertyDescriptor(obj, sym);\n    if (descriptor.value !== symVal || descriptor.enumerable !== true) {\n      return false;\n    }\n  }\n  return true;\n};\n\nvar origSymbol = typeof Symbol !== 'undefined' && Symbol;\nvar hasSymbolSham = shams$1;\nvar hasSymbols$4 = function hasNativeSymbols() {\n  if (typeof origSymbol !== 'function') {\n    return false;\n  }\n  if (typeof Symbol !== 'function') {\n    return false;\n  }\n  if (_typeof(origSymbol('foo')) !== 'symbol') {\n    return false;\n  }\n  if (_typeof(Symbol('bar')) !== 'symbol') {\n    return false;\n  }\n  return hasSymbolSham();\n};\n\nvar test = {\n  foo: {}\n};\nvar $Object = Object;\nvar hasProto$1 = function hasProto() {\n  return {\n    __proto__: test\n  }.foo === test.foo && !({\n    __proto__: null\n  } instanceof $Object);\n};\n\nvar bind$2 = functionBind;\nvar src = bind$2.call(Function.call, Object.prototype.hasOwnProperty);\n\nvar undefined$1;\nvar $SyntaxError = SyntaxError;\nvar $Function = Function;\nvar $TypeError$6 = TypeError;\n\n// eslint-disable-next-line consistent-return\nvar getEvalledConstructor = function getEvalledConstructor(expressionSyntax) {\n  try {\n    return $Function('\"use strict\"; return (' + expressionSyntax + ').constructor;')();\n  } catch (e) {}\n};\nvar $gOPD = Object.getOwnPropertyDescriptor;\nif ($gOPD) {\n  try {\n    $gOPD({}, '');\n  } catch (e) {\n    $gOPD = null; // this is IE 8, which has a broken gOPD\n  }\n}\n\nvar throwTypeError = function throwTypeError() {\n  throw new $TypeError$6();\n};\nvar ThrowTypeError = $gOPD ? function () {\n  try {\n    // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties\n    arguments.callee; // IE 8 does not throw here\n    return throwTypeError;\n  } catch (calleeThrows) {\n    try {\n      // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')\n      return $gOPD(arguments, 'callee').get;\n    } catch (gOPDthrows) {\n      return throwTypeError;\n    }\n  }\n}() : throwTypeError;\nvar hasSymbols$3 = hasSymbols$4();\nvar hasProto = hasProto$1();\nvar getProto$1 = Object.getPrototypeOf || (hasProto ? function (x) {\n  return x.__proto__;\n} // eslint-disable-line no-proto\n: null);\nvar needsEval = {};\nvar TypedArray = typeof Uint8Array === 'undefined' || !getProto$1 ? undefined$1 : getProto$1(Uint8Array);\nvar INTRINSICS = {\n  '%AggregateError%': typeof AggregateError === 'undefined' ? undefined$1 : AggregateError,\n  '%Array%': Array,\n  '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer,\n  '%ArrayIteratorPrototype%': hasSymbols$3 && getProto$1 ? getProto$1([][Symbol.iterator]()) : undefined$1,\n  '%AsyncFromSyncIteratorPrototype%': undefined$1,\n  '%AsyncFunction%': needsEval,\n  '%AsyncGenerator%': needsEval,\n  '%AsyncGeneratorFunction%': needsEval,\n  '%AsyncIteratorPrototype%': needsEval,\n  '%Atomics%': typeof Atomics === 'undefined' ? undefined$1 : Atomics,\n  '%BigInt%': typeof BigInt === 'undefined' ? undefined$1 : BigInt,\n  '%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined$1 : BigInt64Array,\n  '%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined$1 : BigUint64Array,\n  '%Boolean%': Boolean,\n  '%DataView%': typeof DataView === 'undefined' ? undefined$1 : DataView,\n  '%Date%': Date,\n  '%decodeURI%': decodeURI,\n  '%decodeURIComponent%': decodeURIComponent,\n  '%encodeURI%': encodeURI,\n  '%encodeURIComponent%': encodeURIComponent,\n  '%Error%': Error,\n  '%eval%': eval,\n  // eslint-disable-line no-eval\n  '%EvalError%': EvalError,\n  '%Float32Array%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array,\n  '%Float64Array%': typeof Float64Array === 'undefined' ? undefined$1 : Float64Array,\n  '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined$1 : FinalizationRegistry,\n  '%Function%': $Function,\n  '%GeneratorFunction%': needsEval,\n  '%Int8Array%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array,\n  '%Int16Array%': typeof Int16Array === 'undefined' ? undefined$1 : Int16Array,\n  '%Int32Array%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array,\n  '%isFinite%': isFinite,\n  '%isNaN%': isNaN,\n  '%IteratorPrototype%': hasSymbols$3 && getProto$1 ? getProto$1(getProto$1([][Symbol.iterator]())) : undefined$1,\n  '%JSON%': (typeof JSON === \"undefined\" ? \"undefined\" : _typeof(JSON)) === 'object' ? JSON : undefined$1,\n  '%Map%': typeof Map === 'undefined' ? undefined$1 : Map,\n  '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$3 || !getProto$1 ? undefined$1 : getProto$1(new Map()[Symbol.iterator]()),\n  '%Math%': Math,\n  '%Number%': Number,\n  '%Object%': Object,\n  '%parseFloat%': parseFloat,\n  '%parseInt%': parseInt,\n  '%Promise%': typeof Promise === 'undefined' ? undefined$1 : Promise,\n  '%Proxy%': typeof Proxy === 'undefined' ? undefined$1 : Proxy,\n  '%RangeError%': RangeError,\n  '%ReferenceError%': ReferenceError,\n  '%Reflect%': typeof Reflect === 'undefined' ? undefined$1 : Reflect,\n  '%RegExp%': RegExp,\n  '%Set%': typeof Set === 'undefined' ? undefined$1 : Set,\n  '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$3 || !getProto$1 ? undefined$1 : getProto$1(new Set()[Symbol.iterator]()),\n  '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer,\n  '%String%': String,\n  '%StringIteratorPrototype%': hasSymbols$3 && getProto$1 ? getProto$1(''[Symbol.iterator]()) : undefined$1,\n  '%Symbol%': hasSymbols$3 ? Symbol : undefined$1,\n  '%SyntaxError%': $SyntaxError,\n  '%ThrowTypeError%': ThrowTypeError,\n  '%TypedArray%': TypedArray,\n  '%TypeError%': $TypeError$6,\n  '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array,\n  '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray,\n  '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array,\n  '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array,\n  '%URIError%': URIError,\n  '%WeakMap%': typeof WeakMap === 'undefined' ? undefined$1 : WeakMap,\n  '%WeakRef%': typeof WeakRef === 'undefined' ? undefined$1 : WeakRef,\n  '%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet\n};\nif (getProto$1) {\n  try {\n    null.error; // eslint-disable-line no-unused-expressions\n  } catch (e) {\n    // https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229\n    var errorProto = getProto$1(getProto$1(e));\n    INTRINSICS['%Error.prototype%'] = errorProto;\n  }\n}\nvar doEval = function doEval(name) {\n  var value;\n  if (name === '%AsyncFunction%') {\n    value = getEvalledConstructor('async function () {}');\n  } else if (name === '%GeneratorFunction%') {\n    value = getEvalledConstructor('function* () {}');\n  } else if (name === '%AsyncGeneratorFunction%') {\n    value = getEvalledConstructor('async function* () {}');\n  } else if (name === '%AsyncGenerator%') {\n    var fn = doEval('%AsyncGeneratorFunction%');\n    if (fn) {\n      value = fn.prototype;\n    }\n  } else if (name === '%AsyncIteratorPrototype%') {\n    var gen = doEval('%AsyncGenerator%');\n    if (gen && getProto$1) {\n      value = getProto$1(gen.prototype);\n    }\n  }\n  INTRINSICS[name] = value;\n  return value;\n};\nvar LEGACY_ALIASES = {\n  '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],\n  '%ArrayPrototype%': ['Array', 'prototype'],\n  '%ArrayProto_entries%': ['Array', 'prototype', 'entries'],\n  '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],\n  '%ArrayProto_keys%': ['Array', 'prototype', 'keys'],\n  '%ArrayProto_values%': ['Array', 'prototype', 'values'],\n  '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],\n  '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],\n  '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],\n  '%BooleanPrototype%': ['Boolean', 'prototype'],\n  '%DataViewPrototype%': ['DataView', 'prototype'],\n  '%DatePrototype%': ['Date', 'prototype'],\n  '%ErrorPrototype%': ['Error', 'prototype'],\n  '%EvalErrorPrototype%': ['EvalError', 'prototype'],\n  '%Float32ArrayPrototype%': ['Float32Array', 'prototype'],\n  '%Float64ArrayPrototype%': ['Float64Array', 'prototype'],\n  '%FunctionPrototype%': ['Function', 'prototype'],\n  '%Generator%': ['GeneratorFunction', 'prototype'],\n  '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],\n  '%Int8ArrayPrototype%': ['Int8Array', 'prototype'],\n  '%Int16ArrayPrototype%': ['Int16Array', 'prototype'],\n  '%Int32ArrayPrototype%': ['Int32Array', 'prototype'],\n  '%JSONParse%': ['JSON', 'parse'],\n  '%JSONStringify%': ['JSON', 'stringify'],\n  '%MapPrototype%': ['Map', 'prototype'],\n  '%NumberPrototype%': ['Number', 'prototype'],\n  '%ObjectPrototype%': ['Object', 'prototype'],\n  '%ObjProto_toString%': ['Object', 'prototype', 'toString'],\n  '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],\n  '%PromisePrototype%': ['Promise', 'prototype'],\n  '%PromiseProto_then%': ['Promise', 'prototype', 'then'],\n  '%Promise_all%': ['Promise', 'all'],\n  '%Promise_reject%': ['Promise', 'reject'],\n  '%Promise_resolve%': ['Promise', 'resolve'],\n  '%RangeErrorPrototype%': ['RangeError', 'prototype'],\n  '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],\n  '%RegExpPrototype%': ['RegExp', 'prototype'],\n  '%SetPrototype%': ['Set', 'prototype'],\n  '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],\n  '%StringPrototype%': ['String', 'prototype'],\n  '%SymbolPrototype%': ['Symbol', 'prototype'],\n  '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],\n  '%TypedArrayPrototype%': ['TypedArray', 'prototype'],\n  '%TypeErrorPrototype%': ['TypeError', 'prototype'],\n  '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],\n  '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],\n  '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],\n  '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],\n  '%URIErrorPrototype%': ['URIError', 'prototype'],\n  '%WeakMapPrototype%': ['WeakMap', 'prototype'],\n  '%WeakSetPrototype%': ['WeakSet', 'prototype']\n};\nvar bind$1 = functionBind;\nvar hasOwn = src;\nvar $concat = bind$1.call(Function.call, Array.prototype.concat);\nvar $spliceApply = bind$1.call(Function.apply, Array.prototype.splice);\nvar $replace = bind$1.call(Function.call, String.prototype.replace);\nvar $strSlice = bind$1.call(Function.call, String.prototype.slice);\nvar $exec = bind$1.call(Function.call, RegExp.prototype.exec);\n\n/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */\nvar rePropName = /[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g;\nvar reEscapeChar = /\\\\(\\\\)?/g; /** Used to match backslashes in property paths. */\nvar stringToPath = function stringToPath(string) {\n  var first = $strSlice(string, 0, 1);\n  var last = $strSlice(string, -1);\n  if (first === '%' && last !== '%') {\n    throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`');\n  } else if (last === '%' && first !== '%') {\n    throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`');\n  }\n  var result = [];\n  $replace(string, rePropName, function (match, number, quote, subString) {\n    result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;\n  });\n  return result;\n};\n/* end adaptation */\n\nvar getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {\n  var intrinsicName = name;\n  var alias;\n  if (hasOwn(LEGACY_ALIASES, intrinsicName)) {\n    alias = LEGACY_ALIASES[intrinsicName];\n    intrinsicName = '%' + alias[0] + '%';\n  }\n  if (hasOwn(INTRINSICS, intrinsicName)) {\n    var value = INTRINSICS[intrinsicName];\n    if (value === needsEval) {\n      value = doEval(intrinsicName);\n    }\n    if (typeof value === 'undefined' && !allowMissing) {\n      throw new $TypeError$6('intrinsic ' + name + ' exists, but is not available. Please file an issue!');\n    }\n    return {\n      alias: alias,\n      name: intrinsicName,\n      value: value\n    };\n  }\n  throw new $SyntaxError('intrinsic ' + name + ' does not exist!');\n};\nvar getIntrinsic = function GetIntrinsic(name, allowMissing) {\n  if (typeof name !== 'string' || name.length === 0) {\n    throw new $TypeError$6('intrinsic name must be a non-empty string');\n  }\n  if (arguments.length > 1 && typeof allowMissing !== 'boolean') {\n    throw new $TypeError$6('\"allowMissing\" argument must be a boolean');\n  }\n  if ($exec(/^%?[^%]*%?$/, name) === null) {\n    throw new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');\n  }\n  var parts = stringToPath(name);\n  var intrinsicBaseName = parts.length > 0 ? parts[0] : '';\n  var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);\n  var intrinsicRealName = intrinsic.name;\n  var value = intrinsic.value;\n  var skipFurtherCaching = false;\n  var alias = intrinsic.alias;\n  if (alias) {\n    intrinsicBaseName = alias[0];\n    $spliceApply(parts, $concat([0, 1], alias));\n  }\n  for (var i = 1, isOwn = true; i < parts.length; i += 1) {\n    var part = parts[i];\n    var first = $strSlice(part, 0, 1);\n    var last = $strSlice(part, -1);\n    if ((first === '\"' || first === \"'\" || first === '`' || last === '\"' || last === \"'\" || last === '`') && first !== last) {\n      throw new $SyntaxError('property names with quotes must have matching quotes');\n    }\n    if (part === 'constructor' || !isOwn) {\n      skipFurtherCaching = true;\n    }\n    intrinsicBaseName += '.' + part;\n    intrinsicRealName = '%' + intrinsicBaseName + '%';\n    if (hasOwn(INTRINSICS, intrinsicRealName)) {\n      value = INTRINSICS[intrinsicRealName];\n    } else if (value != null) {\n      if (!(part in value)) {\n        if (!allowMissing) {\n          throw new $TypeError$6('base intrinsic for ' + name + ' exists, but the property is not available.');\n        }\n        return void undefined$1;\n      }\n      if ($gOPD && i + 1 >= parts.length) {\n        var desc = $gOPD(value, part);\n        isOwn = !!desc;\n\n        // By convention, when a data property is converted to an accessor\n        // property to emulate a data property that does not suffer from\n        // the override mistake, that accessor's getter is marked with\n        // an `originalValue` property. Here, when we detect this, we\n        // uphold the illusion by pretending to see that original data\n        // property, i.e., returning the value rather than the getter\n        // itself.\n        if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {\n          value = desc.get;\n        } else {\n          value = value[part];\n        }\n      } else {\n        isOwn = hasOwn(value, part);\n        value = value[part];\n      }\n      if (isOwn && !skipFurtherCaching) {\n        INTRINSICS[intrinsicRealName] = value;\n      }\n    }\n  }\n  return value;\n};\n\nvar GetIntrinsic$c = getIntrinsic;\nvar $defineProperty = GetIntrinsic$c('%Object.defineProperty%', true);\nvar hasPropertyDescriptors$2 = function hasPropertyDescriptors() {\n  if ($defineProperty) {\n    try {\n      $defineProperty({}, 'a', {\n        value: 1\n      });\n      return true;\n    } catch (e) {\n      // IE 8 has a broken defineProperty\n      return false;\n    }\n  }\n  return false;\n};\nhasPropertyDescriptors$2.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {\n  // node v0.6 has a bug where array lengths can be Set but not Defined\n  if (!hasPropertyDescriptors$2()) {\n    return null;\n  }\n  try {\n    return $defineProperty([], 'length', {\n      value: 1\n    }).length !== 1;\n  } catch (e) {\n    // In Firefox 4-22, defining length on an array throws an exception.\n    return true;\n  }\n};\nvar hasPropertyDescriptors_1 = hasPropertyDescriptors$2;\n\nvar keys = objectKeys;\nvar hasSymbols$2 = typeof Symbol === 'function' && _typeof(Symbol('foo')) === 'symbol';\nvar toStr$2 = Object.prototype.toString;\nvar concat = Array.prototype.concat;\nvar origDefineProperty = Object.defineProperty;\nvar isFunction = function isFunction(fn) {\n  return typeof fn === 'function' && toStr$2.call(fn) === '[object Function]';\n};\nvar hasPropertyDescriptors$1 = hasPropertyDescriptors_1();\nvar supportsDescriptors = origDefineProperty && hasPropertyDescriptors$1;\nvar defineProperty = function defineProperty(object, name, value, predicate) {\n  if (name in object) {\n    if (predicate === true) {\n      if (object[name] === value) {\n        return;\n      }\n    } else if (!isFunction(predicate) || !predicate()) {\n      return;\n    }\n  }\n  if (supportsDescriptors) {\n    origDefineProperty(object, name, {\n      configurable: true,\n      enumerable: false,\n      value: value,\n      writable: true\n    });\n  } else {\n    object[name] = value; // eslint-disable-line no-param-reassign\n  }\n};\n\nvar defineProperties$1 = function defineProperties(object, map) {\n  var predicates = arguments.length > 2 ? arguments[2] : {};\n  var props = keys(map);\n  if (hasSymbols$2) {\n    props = concat.call(props, Object.getOwnPropertySymbols(map));\n  }\n  for (var i = 0; i < props.length; i += 1) {\n    defineProperty(object, props[i], map[props[i]], predicates[props[i]]);\n  }\n};\ndefineProperties$1.supportsDescriptors = !!supportsDescriptors;\nvar defineProperties_1 = defineProperties$1;\n\nvar functionsHaveNames = function functionsHaveNames() {\n  return typeof function f() {}.name === 'string';\n};\nvar gOPD = Object.getOwnPropertyDescriptor;\nif (gOPD) {\n  try {\n    gOPD([], 'length');\n  } catch (e) {\n    // IE 8 has a broken gOPD\n    gOPD = null;\n  }\n}\nfunctionsHaveNames.functionsHaveConfigurableNames = function functionsHaveConfigurableNames() {\n  if (!functionsHaveNames() || !gOPD) {\n    return false;\n  }\n  var desc = gOPD(function () {}, 'name');\n  return !!desc && !!desc.configurable;\n};\nvar $bind = Function.prototype.bind;\nfunctionsHaveNames.boundFunctionsHaveNames = function boundFunctionsHaveNames() {\n  return functionsHaveNames() && typeof $bind === 'function' && function f() {}.bind().name !== '';\n};\nvar functionsHaveNames_1 = functionsHaveNames;\n\nvar callBind$1 = {exports: {}};\n\n(function (module) {\n\n  var bind = functionBind;\n  var GetIntrinsic = getIntrinsic;\n  var $apply = GetIntrinsic('%Function.prototype.apply%');\n  var $call = GetIntrinsic('%Function.prototype.call%');\n  var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);\n  var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);\n  var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);\n  var $max = GetIntrinsic('%Math.max%');\n  if ($defineProperty) {\n    try {\n      $defineProperty({}, 'a', {\n        value: 1\n      });\n    } catch (e) {\n      // IE 8 has a broken defineProperty\n      $defineProperty = null;\n    }\n  }\n  module.exports = function callBind(originalFunction) {\n    var func = $reflectApply(bind, $call, arguments);\n    if ($gOPD && $defineProperty) {\n      var desc = $gOPD(func, 'length');\n      if (desc.configurable) {\n        // original length, plus the receiver, minus any additional arguments (after the receiver)\n        $defineProperty(func, 'length', {\n          value: 1 + $max(0, originalFunction.length - (arguments.length - 1))\n        });\n      }\n    }\n    return func;\n  };\n  var applyBind = function applyBind() {\n    return $reflectApply(bind, $apply, arguments);\n  };\n  if ($defineProperty) {\n    $defineProperty(module.exports, 'apply', {\n      value: applyBind\n    });\n  } else {\n    module.exports.apply = applyBind;\n  }\n})(callBind$1);\nvar callBindExports = callBind$1.exports;\n\nvar GetIntrinsic$b = getIntrinsic;\nvar callBind = callBindExports;\nvar $indexOf = callBind(GetIntrinsic$b('String.prototype.indexOf'));\nvar callBound$3 = function callBoundIntrinsic(name, allowMissing) {\n  var intrinsic = GetIntrinsic$b(name, !!allowMissing);\n  if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {\n    return callBind(intrinsic);\n  }\n  return intrinsic;\n};\n\nvar isLeadingSurrogate$1;\nvar hasRequiredIsLeadingSurrogate;\nfunction requireIsLeadingSurrogate() {\n  if (hasRequiredIsLeadingSurrogate) return isLeadingSurrogate$1;\n  hasRequiredIsLeadingSurrogate = 1;\n  isLeadingSurrogate$1 = function isLeadingSurrogate(charCode) {\n    return typeof charCode === 'number' && charCode >= 0xD800 && charCode <= 0xDBFF;\n  };\n  return isLeadingSurrogate$1;\n}\n\nvar isTrailingSurrogate$1;\nvar hasRequiredIsTrailingSurrogate;\nfunction requireIsTrailingSurrogate() {\n  if (hasRequiredIsTrailingSurrogate) return isTrailingSurrogate$1;\n  hasRequiredIsTrailingSurrogate = 1;\n  isTrailingSurrogate$1 = function isTrailingSurrogate(charCode) {\n    return typeof charCode === 'number' && charCode >= 0xDC00 && charCode <= 0xDFFF;\n  };\n  return isTrailingSurrogate$1;\n}\n\n// https://262.ecma-international.org/5.1/#sec-8\n\nvar Type$9 = function Type(x) {\n  if (x === null) {\n    return 'Null';\n  }\n  if (typeof x === 'undefined') {\n    return 'Undefined';\n  }\n  if (typeof x === 'function' || _typeof(x) === 'object') {\n    return 'Object';\n  }\n  if (typeof x === 'number') {\n    return 'Number';\n  }\n  if (typeof x === 'boolean') {\n    return 'Boolean';\n  }\n  if (typeof x === 'string') {\n    return 'String';\n  }\n};\n\nvar ES5Type = Type$9;\n\n// https://262.ecma-international.org/11.0/#sec-ecmascript-data-types-and-values\n\nvar Type$8 = function Type(x) {\n  if (_typeof(x) === 'symbol') {\n    return 'Symbol';\n  }\n  if (typeof x === 'bigint') {\n    return 'BigInt';\n  }\n  return ES5Type(x);\n};\n\nvar UTF16SurrogatePairToCodePoint$1;\nvar hasRequiredUTF16SurrogatePairToCodePoint;\nfunction requireUTF16SurrogatePairToCodePoint() {\n  if (hasRequiredUTF16SurrogatePairToCodePoint) return UTF16SurrogatePairToCodePoint$1;\n  hasRequiredUTF16SurrogatePairToCodePoint = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $TypeError = GetIntrinsic('%TypeError%');\n  var $fromCharCode = GetIntrinsic('%String.fromCharCode%');\n  var isLeadingSurrogate = requireIsLeadingSurrogate();\n  var isTrailingSurrogate = requireIsTrailingSurrogate();\n\n  // https://tc39.es/ecma262/2020/#sec-utf16decodesurrogatepair\n\n  UTF16SurrogatePairToCodePoint$1 = function UTF16SurrogatePairToCodePoint(lead, trail) {\n    if (!isLeadingSurrogate(lead) || !isTrailingSurrogate(trail)) {\n      throw new $TypeError('Assertion failed: `lead` must be a leading surrogate char code, and `trail` must be a trailing surrogate char code');\n    }\n    // var cp = (lead - 0xD800) * 0x400 + (trail - 0xDC00) + 0x10000;\n    return $fromCharCode(lead) + $fromCharCode(trail);\n  };\n  return UTF16SurrogatePairToCodePoint$1;\n}\n\nvar GetIntrinsic$a = getIntrinsic;\nvar $TypeError$5 = GetIntrinsic$a('%TypeError%');\nvar callBound$2 = callBound$3;\nvar isLeadingSurrogate = requireIsLeadingSurrogate();\nvar isTrailingSurrogate = requireIsTrailingSurrogate();\nvar Type$7 = Type$8;\nvar UTF16SurrogatePairToCodePoint = requireUTF16SurrogatePairToCodePoint();\nvar $charAt = callBound$2('String.prototype.charAt');\nvar $charCodeAt = callBound$2('String.prototype.charCodeAt');\n\n// https://262.ecma-international.org/12.0/#sec-codepointat\n\nvar CodePointAt$1 = function CodePointAt(string, position) {\n  if (Type$7(string) !== 'String') {\n    throw new $TypeError$5('Assertion failed: `string` must be a String');\n  }\n  var size = string.length;\n  if (position < 0 || position >= size) {\n    throw new $TypeError$5('Assertion failed: `position` must be >= 0, and < the length of `string`');\n  }\n  var first = $charCodeAt(string, position);\n  var cp = $charAt(string, position);\n  var firstIsLeading = isLeadingSurrogate(first);\n  var firstIsTrailing = isTrailingSurrogate(first);\n  if (!firstIsLeading && !firstIsTrailing) {\n    return {\n      '[[CodePoint]]': cp,\n      '[[CodeUnitCount]]': 1,\n      '[[IsUnpairedSurrogate]]': false\n    };\n  }\n  if (firstIsTrailing || position + 1 === size) {\n    return {\n      '[[CodePoint]]': cp,\n      '[[CodeUnitCount]]': 1,\n      '[[IsUnpairedSurrogate]]': true\n    };\n  }\n  var second = $charCodeAt(string, position + 1);\n  if (!isTrailingSurrogate(second)) {\n    return {\n      '[[CodePoint]]': cp,\n      '[[CodeUnitCount]]': 1,\n      '[[IsUnpairedSurrogate]]': true\n    };\n  }\n  return {\n    '[[CodePoint]]': UTF16SurrogatePairToCodePoint(first, second),\n    '[[CodeUnitCount]]': 2,\n    '[[IsUnpairedSurrogate]]': false\n  };\n};\n\nvar GetIntrinsic$9 = getIntrinsic;\nvar $abs = GetIntrinsic$9('%Math.abs%');\n\n// http://262.ecma-international.org/5.1/#sec-5.2\n\nvar abs$1 = function abs(x) {\n  return $abs(x);\n};\n\nvar Type$6 = Type$8;\n\n// var modulo = require('./modulo');\nvar $floor = Math.floor;\n\n// http://262.ecma-international.org/11.0/#eqn-floor\n\nvar floor$1 = function floor(x) {\n  // return x - modulo(x, 1);\n  if (Type$6(x) === 'BigInt') {\n    return x;\n  }\n  return $floor(x);\n};\n\nvar _isNaN = Number.isNaN || function isNaN(a) {\n  return a !== a;\n};\n\nvar $isNaN$1 = _isNaN;\nvar _isFinite = function _isFinite(x) {\n  return (typeof x === 'number' || typeof x === 'bigint') && !$isNaN$1(x) && x !== Infinity && x !== -Infinity;\n};\n\nvar abs = abs$1;\nvar floor = floor$1;\nvar Type$5 = Type$8;\nvar $isNaN = _isNaN;\nvar $isFinite = _isFinite;\n\n// https://tc39.es/ecma262/#sec-isintegralnumber\n\nvar IsIntegralNumber$1 = function IsIntegralNumber(argument) {\n  if (Type$5(argument) !== 'Number' || $isNaN(argument) || !$isFinite(argument)) {\n    return false;\n  }\n  var absValue = abs(argument);\n  return floor(absValue) === absValue;\n};\n\nvar GetIntrinsic$8 = getIntrinsic;\nvar $Math = GetIntrinsic$8('%Math%');\nvar $Number = GetIntrinsic$8('%Number%');\nvar maxSafeInteger = $Number.MAX_SAFE_INTEGER || $Math.pow(2, 53) - 1;\n\nvar GetIntrinsic$7 = getIntrinsic;\nvar CodePointAt = CodePointAt$1;\nvar IsIntegralNumber = IsIntegralNumber$1;\nvar Type$4 = Type$8;\nvar MAX_SAFE_INTEGER = maxSafeInteger;\nvar $TypeError$4 = GetIntrinsic$7('%TypeError%');\n\n// https://262.ecma-international.org/12.0/#sec-advancestringindex\n\nvar AdvanceStringIndex$1 = function AdvanceStringIndex(S, index, unicode) {\n  if (Type$4(S) !== 'String') {\n    throw new $TypeError$4('Assertion failed: `S` must be a String');\n  }\n  if (!IsIntegralNumber(index) || index < 0 || index > MAX_SAFE_INTEGER) {\n    throw new $TypeError$4('Assertion failed: `length` must be an integer >= 0 and <= 2**53');\n  }\n  if (Type$4(unicode) !== 'Boolean') {\n    throw new $TypeError$4('Assertion failed: `unicode` must be a Boolean');\n  }\n  if (!unicode) {\n    return index + 1;\n  }\n  var length = S.length;\n  if (index + 1 >= length) {\n    return index + 1;\n  }\n  var cp = CodePointAt(S, index);\n  return index + cp['[[CodeUnitCount]]'];\n};\n\nvar IsPropertyKey$3;\nvar hasRequiredIsPropertyKey;\nfunction requireIsPropertyKey() {\n  if (hasRequiredIsPropertyKey) return IsPropertyKey$3;\n  hasRequiredIsPropertyKey = 1;\n\n  // https://262.ecma-international.org/6.0/#sec-ispropertykey\n\n  IsPropertyKey$3 = function IsPropertyKey(argument) {\n    return typeof argument === 'string' || _typeof(argument) === 'symbol';\n  };\n  return IsPropertyKey$3;\n}\n\nvar gopd;\nvar hasRequiredGopd;\nfunction requireGopd() {\n  if (hasRequiredGopd) return gopd;\n  hasRequiredGopd = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);\n  if ($gOPD) {\n    try {\n      $gOPD([], 'length');\n    } catch (e) {\n      // IE 8 has a broken gOPD\n      $gOPD = null;\n    }\n  }\n  gopd = $gOPD;\n  return gopd;\n}\n\nvar isPropertyDescriptor;\nvar hasRequiredIsPropertyDescriptor;\nfunction requireIsPropertyDescriptor() {\n  if (hasRequiredIsPropertyDescriptor) return isPropertyDescriptor;\n  hasRequiredIsPropertyDescriptor = 1;\n  var GetIntrinsic = getIntrinsic;\n  var has = src;\n  var $TypeError = GetIntrinsic('%TypeError%');\n  isPropertyDescriptor = function IsPropertyDescriptor(ES, Desc) {\n    if (ES.Type(Desc) !== 'Object') {\n      return false;\n    }\n    var allowed = {\n      '[[Configurable]]': true,\n      '[[Enumerable]]': true,\n      '[[Get]]': true,\n      '[[Set]]': true,\n      '[[Value]]': true,\n      '[[Writable]]': true\n    };\n    for (var key in Desc) {\n      // eslint-disable-line no-restricted-syntax\n      if (has(Desc, key) && !allowed[key]) {\n        return false;\n      }\n    }\n    if (ES.IsDataDescriptor(Desc) && ES.IsAccessorDescriptor(Desc)) {\n      throw new $TypeError('Property Descriptors may not be both accessor and data descriptors');\n    }\n    return true;\n  };\n  return isPropertyDescriptor;\n}\n\nvar isMatchRecord;\nvar hasRequiredIsMatchRecord;\nfunction requireIsMatchRecord() {\n  if (hasRequiredIsMatchRecord) return isMatchRecord;\n  hasRequiredIsMatchRecord = 1;\n  var has = src;\n\n  // https://262.ecma-international.org/13.0/#sec-match-records\n\n  isMatchRecord = function isMatchRecord(record) {\n    return has(record, '[[StartIndex]]') && has(record, '[[EndIndex]]') && record['[[StartIndex]]'] >= 0 && record['[[EndIndex]]'] >= record['[[StartIndex]]'] && String(parseInt(record['[[StartIndex]]'], 10)) === String(record['[[StartIndex]]']) && String(parseInt(record['[[EndIndex]]'], 10)) === String(record['[[EndIndex]]']);\n  };\n  return isMatchRecord;\n}\n\nvar assertRecord;\nvar hasRequiredAssertRecord;\nfunction requireAssertRecord() {\n  if (hasRequiredAssertRecord) return assertRecord;\n  hasRequiredAssertRecord = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $TypeError = GetIntrinsic('%TypeError%');\n  var $SyntaxError = GetIntrinsic('%SyntaxError%');\n  var has = src;\n  var isMatchRecord = requireIsMatchRecord();\n  var predicates = {\n    // https://262.ecma-international.org/6.0/#sec-property-descriptor-specification-type\n    'Property Descriptor': function isPropertyDescriptor(Desc) {\n      var allowed = {\n        '[[Configurable]]': true,\n        '[[Enumerable]]': true,\n        '[[Get]]': true,\n        '[[Set]]': true,\n        '[[Value]]': true,\n        '[[Writable]]': true\n      };\n      if (!Desc) {\n        return false;\n      }\n      for (var key in Desc) {\n        // eslint-disable-line\n        if (has(Desc, key) && !allowed[key]) {\n          return false;\n        }\n      }\n      var isData = has(Desc, '[[Value]]');\n      var IsAccessor = has(Desc, '[[Get]]') || has(Desc, '[[Set]]');\n      if (isData && IsAccessor) {\n        throw new $TypeError('Property Descriptors may not be both accessor and data descriptors');\n      }\n      return true;\n    },\n    // https://262.ecma-international.org/13.0/#sec-match-records\n    'Match Record': isMatchRecord,\n    'Iterator Record': function isIteratorRecord(value) {\n      return has(value, '[[Iterator]]') && has(value, '[[NextMethod]]') && has(value, '[[Done]]');\n    },\n    'PromiseCapability Record': function isPromiseCapabilityRecord(value) {\n      return !!value && has(value, '[[Resolve]]') && typeof value['[[Resolve]]'] === 'function' && has(value, '[[Reject]]') && typeof value['[[Reject]]'] === 'function' && has(value, '[[Promise]]') && value['[[Promise]]'] && typeof value['[[Promise]]'].then === 'function';\n    },\n    'AsyncGeneratorRequest Record': function isAsyncGeneratorRequestRecord(value) {\n      return !!value && has(value, '[[Completion]]') // TODO: confirm is a completion record\n      && has(value, '[[Capability]]') && predicates['PromiseCapability Record'](value['[[Capability]]']);\n    }\n  };\n  assertRecord = function assertRecord(Type, recordType, argumentName, value) {\n    var predicate = predicates[recordType];\n    if (typeof predicate !== 'function') {\n      throw new $SyntaxError('unknown record type: ' + recordType);\n    }\n    if (Type(value) !== 'Object' || !predicate(value)) {\n      throw new $TypeError(argumentName + ' must be a ' + recordType);\n    }\n  };\n  return assertRecord;\n}\n\nvar IsAccessorDescriptor;\nvar hasRequiredIsAccessorDescriptor;\nfunction requireIsAccessorDescriptor() {\n  if (hasRequiredIsAccessorDescriptor) return IsAccessorDescriptor;\n  hasRequiredIsAccessorDescriptor = 1;\n  var has = src;\n  var Type = Type$8;\n  var assertRecord = requireAssertRecord();\n\n  // https://262.ecma-international.org/5.1/#sec-8.10.1\n\n  IsAccessorDescriptor = function IsAccessorDescriptor(Desc) {\n    if (typeof Desc === 'undefined') {\n      return false;\n    }\n    assertRecord(Type, 'Property Descriptor', 'Desc', Desc);\n    if (!has(Desc, '[[Get]]') && !has(Desc, '[[Set]]')) {\n      return false;\n    }\n    return true;\n  };\n  return IsAccessorDescriptor;\n}\n\nvar IsDataDescriptor$1;\nvar hasRequiredIsDataDescriptor;\nfunction requireIsDataDescriptor() {\n  if (hasRequiredIsDataDescriptor) return IsDataDescriptor$1;\n  hasRequiredIsDataDescriptor = 1;\n  var has = src;\n  var Type = Type$8;\n  var assertRecord = requireAssertRecord();\n\n  // https://262.ecma-international.org/5.1/#sec-8.10.2\n\n  IsDataDescriptor$1 = function IsDataDescriptor(Desc) {\n    if (typeof Desc === 'undefined') {\n      return false;\n    }\n    assertRecord(Type, 'Property Descriptor', 'Desc', Desc);\n    if (!has(Desc, '[[Value]]') && !has(Desc, '[[Writable]]')) {\n      return false;\n    }\n    return true;\n  };\n  return IsDataDescriptor$1;\n}\n\nvar isPrimitive;\nvar hasRequiredIsPrimitive;\nfunction requireIsPrimitive() {\n  if (hasRequiredIsPrimitive) return isPrimitive;\n  hasRequiredIsPrimitive = 1;\n  isPrimitive = function isPrimitive(value) {\n    return value === null || typeof value !== 'function' && _typeof(value) !== 'object';\n  };\n  return isPrimitive;\n}\n\nvar IsExtensible;\nvar hasRequiredIsExtensible;\nfunction requireIsExtensible() {\n  if (hasRequiredIsExtensible) return IsExtensible;\n  hasRequiredIsExtensible = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $preventExtensions = GetIntrinsic('%Object.preventExtensions%', true);\n  var $isExtensible = GetIntrinsic('%Object.isExtensible%', true);\n  var isPrimitive = requireIsPrimitive();\n\n  // https://262.ecma-international.org/6.0/#sec-isextensible-o\n\n  IsExtensible = $preventExtensions ? function IsExtensible(obj) {\n    return !isPrimitive(obj) && $isExtensible(obj);\n  } : function IsExtensible(obj) {\n    return !isPrimitive(obj);\n  };\n  return IsExtensible;\n}\n\nvar ToBoolean;\nvar hasRequiredToBoolean;\nfunction requireToBoolean() {\n  if (hasRequiredToBoolean) return ToBoolean;\n  hasRequiredToBoolean = 1;\n\n  // http://262.ecma-international.org/5.1/#sec-9.2\n\n  ToBoolean = function ToBoolean(value) {\n    return !!value;\n  };\n  return ToBoolean;\n}\n\nvar isCallable;\nvar hasRequiredIsCallable$1;\nfunction requireIsCallable$1() {\n  if (hasRequiredIsCallable$1) return isCallable;\n  hasRequiredIsCallable$1 = 1;\n  var fnToStr = Function.prototype.toString;\n  var reflectApply = (typeof Reflect === \"undefined\" ? \"undefined\" : _typeof(Reflect)) === 'object' && Reflect !== null && Reflect.apply;\n  var badArrayLike;\n  var isCallableMarker;\n  if (typeof reflectApply === 'function' && typeof Object.defineProperty === 'function') {\n    try {\n      badArrayLike = Object.defineProperty({}, 'length', {\n        get: function get() {\n          throw isCallableMarker;\n        }\n      });\n      isCallableMarker = {};\n      // eslint-disable-next-line no-throw-literal\n      reflectApply(function () {\n        throw 42;\n      }, null, badArrayLike);\n    } catch (_) {\n      if (_ !== isCallableMarker) {\n        reflectApply = null;\n      }\n    }\n  } else {\n    reflectApply = null;\n  }\n  var constructorRegex = /^\\s*class\\b/;\n  var isES6ClassFn = function isES6ClassFunction(value) {\n    try {\n      var fnStr = fnToStr.call(value);\n      return constructorRegex.test(fnStr);\n    } catch (e) {\n      return false; // not a function\n    }\n  };\n\n  var tryFunctionObject = function tryFunctionToStr(value) {\n    try {\n      if (isES6ClassFn(value)) {\n        return false;\n      }\n      fnToStr.call(value);\n      return true;\n    } catch (e) {\n      return false;\n    }\n  };\n  var toStr = Object.prototype.toString;\n  var objectClass = '[object Object]';\n  var fnClass = '[object Function]';\n  var genClass = '[object GeneratorFunction]';\n  var ddaClass = '[object HTMLAllCollection]'; // IE 11\n  var ddaClass2 = '[object HTML document.all class]';\n  var ddaClass3 = '[object HTMLCollection]'; // IE 9-10\n  var hasToStringTag = typeof Symbol === 'function' && !!Symbol.toStringTag; // better: use `has-tostringtag`\n\n  var isIE68 = !(0 in [,]); // eslint-disable-line no-sparse-arrays, comma-spacing\n\n  var isDDA = function isDocumentDotAll() {\n    return false;\n  };\n  if ((typeof document === \"undefined\" ? \"undefined\" : _typeof(document)) === 'object') {\n    // Firefox 3 canonicalizes DDA to undefined when it's not accessed directly\n    var all = document.all;\n    if (toStr.call(all) === toStr.call(document.all)) {\n      isDDA = function isDocumentDotAll(value) {\n        /* globals document: false */\n        // in IE 6-8, typeof document.all is \"object\" and it's truthy\n        if ((isIE68 || !value) && (typeof value === 'undefined' || _typeof(value) === 'object')) {\n          try {\n            var str = toStr.call(value);\n            return (str === ddaClass || str === ddaClass2 || str === ddaClass3 // opera 12.16\n            || str === objectClass // IE 6-8\n            ) && value('') == null; // eslint-disable-line eqeqeq\n          } catch (e) {/**/}\n        }\n        return false;\n      };\n    }\n  }\n  isCallable = reflectApply ? function isCallable(value) {\n    if (isDDA(value)) {\n      return true;\n    }\n    if (!value) {\n      return false;\n    }\n    if (typeof value !== 'function' && _typeof(value) !== 'object') {\n      return false;\n    }\n    try {\n      reflectApply(value, null, badArrayLike);\n    } catch (e) {\n      if (e !== isCallableMarker) {\n        return false;\n      }\n    }\n    return !isES6ClassFn(value) && tryFunctionObject(value);\n  } : function isCallable(value) {\n    if (isDDA(value)) {\n      return true;\n    }\n    if (!value) {\n      return false;\n    }\n    if (typeof value !== 'function' && _typeof(value) !== 'object') {\n      return false;\n    }\n    if (hasToStringTag) {\n      return tryFunctionObject(value);\n    }\n    if (isES6ClassFn(value)) {\n      return false;\n    }\n    var strClass = toStr.call(value);\n    if (strClass !== fnClass && strClass !== genClass && !/^\\[object HTML/.test(strClass)) {\n      return false;\n    }\n    return tryFunctionObject(value);\n  };\n  return isCallable;\n}\n\nvar IsCallable$1;\nvar hasRequiredIsCallable;\nfunction requireIsCallable() {\n  if (hasRequiredIsCallable) return IsCallable$1;\n  hasRequiredIsCallable = 1;\n\n  // http://262.ecma-international.org/5.1/#sec-9.11\n\n  IsCallable$1 = requireIsCallable$1();\n  return IsCallable$1;\n}\n\nvar ToPropertyDescriptor;\nvar hasRequiredToPropertyDescriptor;\nfunction requireToPropertyDescriptor() {\n  if (hasRequiredToPropertyDescriptor) return ToPropertyDescriptor;\n  hasRequiredToPropertyDescriptor = 1;\n  var has = src;\n  var GetIntrinsic = getIntrinsic;\n  var $TypeError = GetIntrinsic('%TypeError%');\n  var Type = Type$8;\n  var ToBoolean = requireToBoolean();\n  var IsCallable = requireIsCallable();\n\n  // https://262.ecma-international.org/5.1/#sec-8.10.5\n\n  ToPropertyDescriptor = function ToPropertyDescriptor(Obj) {\n    if (Type(Obj) !== 'Object') {\n      throw new $TypeError('ToPropertyDescriptor requires an object');\n    }\n    var desc = {};\n    if (has(Obj, 'enumerable')) {\n      desc['[[Enumerable]]'] = ToBoolean(Obj.enumerable);\n    }\n    if (has(Obj, 'configurable')) {\n      desc['[[Configurable]]'] = ToBoolean(Obj.configurable);\n    }\n    if (has(Obj, 'value')) {\n      desc['[[Value]]'] = Obj.value;\n    }\n    if (has(Obj, 'writable')) {\n      desc['[[Writable]]'] = ToBoolean(Obj.writable);\n    }\n    if (has(Obj, 'get')) {\n      var getter = Obj.get;\n      if (typeof getter !== 'undefined' && !IsCallable(getter)) {\n        throw new $TypeError('getter must be a function');\n      }\n      desc['[[Get]]'] = getter;\n    }\n    if (has(Obj, 'set')) {\n      var setter = Obj.set;\n      if (typeof setter !== 'undefined' && !IsCallable(setter)) {\n        throw new $TypeError('setter must be a function');\n      }\n      desc['[[Set]]'] = setter;\n    }\n    if ((has(desc, '[[Get]]') || has(desc, '[[Set]]')) && (has(desc, '[[Value]]') || has(desc, '[[Writable]]'))) {\n      throw new $TypeError('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');\n    }\n    return desc;\n  };\n  return ToPropertyDescriptor;\n}\n\nvar SameValue$1;\nvar hasRequiredSameValue;\nfunction requireSameValue() {\n  if (hasRequiredSameValue) return SameValue$1;\n  hasRequiredSameValue = 1;\n  var $isNaN = _isNaN;\n\n  // http://262.ecma-international.org/5.1/#sec-9.12\n\n  SameValue$1 = function SameValue(x, y) {\n    if (x === y) {\n      // 0 === -0, but they are not identical.\n      if (x === 0) {\n        return 1 / x === 1 / y;\n      }\n      return true;\n    }\n    return $isNaN(x) && $isNaN(y);\n  };\n  return SameValue$1;\n}\n\nvar GetIntrinsic$6 = getIntrinsic;\nvar $Array = GetIntrinsic$6('%Array%');\n\n// eslint-disable-next-line global-require\nvar toStr$1 = !$Array.isArray && callBound$3('Object.prototype.toString');\nvar IsArray$2 = $Array.isArray || function IsArray(argument) {\n  return toStr$1(argument) === '[object Array]';\n};\n\nvar DefineOwnProperty$1;\nvar hasRequiredDefineOwnProperty;\nfunction requireDefineOwnProperty() {\n  if (hasRequiredDefineOwnProperty) return DefineOwnProperty$1;\n  hasRequiredDefineOwnProperty = 1;\n  var hasPropertyDescriptors = hasPropertyDescriptors_1;\n  var GetIntrinsic = getIntrinsic;\n  var $defineProperty = hasPropertyDescriptors() && GetIntrinsic('%Object.defineProperty%', true);\n  var hasArrayLengthDefineBug = hasPropertyDescriptors.hasArrayLengthDefineBug();\n\n  // eslint-disable-next-line global-require\n  var isArray = hasArrayLengthDefineBug && IsArray$2;\n  var callBound = callBound$3;\n  var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable');\n\n  // eslint-disable-next-line max-params\n  DefineOwnProperty$1 = function DefineOwnProperty(IsDataDescriptor, SameValue, FromPropertyDescriptor, O, P, desc) {\n    if (!$defineProperty) {\n      if (!IsDataDescriptor(desc)) {\n        // ES3 does not support getters/setters\n        return false;\n      }\n      if (!desc['[[Configurable]]'] || !desc['[[Writable]]']) {\n        return false;\n      }\n\n      // fallback for ES3\n      if (P in O && $isEnumerable(O, P) !== !!desc['[[Enumerable]]']) {\n        // a non-enumerable existing property\n        return false;\n      }\n\n      // property does not exist at all, or exists but is enumerable\n      var V = desc['[[Value]]'];\n      // eslint-disable-next-line no-param-reassign\n      O[P] = V; // will use [[Define]]\n      return SameValue(O[P], V);\n    }\n    if (hasArrayLengthDefineBug && P === 'length' && '[[Value]]' in desc && isArray(O) && O.length !== desc['[[Value]]']) {\n      // eslint-disable-next-line no-param-reassign\n      O.length = desc['[[Value]]'];\n      return O.length === desc['[[Value]]'];\n    }\n    $defineProperty(O, P, FromPropertyDescriptor(desc));\n    return true;\n  };\n  return DefineOwnProperty$1;\n}\n\nvar isFullyPopulatedPropertyDescriptor;\nvar hasRequiredIsFullyPopulatedPropertyDescriptor;\nfunction requireIsFullyPopulatedPropertyDescriptor() {\n  if (hasRequiredIsFullyPopulatedPropertyDescriptor) return isFullyPopulatedPropertyDescriptor;\n  hasRequiredIsFullyPopulatedPropertyDescriptor = 1;\n  isFullyPopulatedPropertyDescriptor = function isFullyPopulatedPropertyDescriptor(ES, Desc) {\n    return !!Desc && _typeof(Desc) === 'object' && '[[Enumerable]]' in Desc && '[[Configurable]]' in Desc && (ES.IsAccessorDescriptor(Desc) || ES.IsDataDescriptor(Desc));\n  };\n  return isFullyPopulatedPropertyDescriptor;\n}\n\nvar fromPropertyDescriptor;\nvar hasRequiredFromPropertyDescriptor$1;\nfunction requireFromPropertyDescriptor$1() {\n  if (hasRequiredFromPropertyDescriptor$1) return fromPropertyDescriptor;\n  hasRequiredFromPropertyDescriptor$1 = 1;\n  fromPropertyDescriptor = function fromPropertyDescriptor(Desc) {\n    if (typeof Desc === 'undefined') {\n      return Desc;\n    }\n    var obj = {};\n    if ('[[Value]]' in Desc) {\n      obj.value = Desc['[[Value]]'];\n    }\n    if ('[[Writable]]' in Desc) {\n      obj.writable = !!Desc['[[Writable]]'];\n    }\n    if ('[[Get]]' in Desc) {\n      obj.get = Desc['[[Get]]'];\n    }\n    if ('[[Set]]' in Desc) {\n      obj.set = Desc['[[Set]]'];\n    }\n    if ('[[Enumerable]]' in Desc) {\n      obj.enumerable = !!Desc['[[Enumerable]]'];\n    }\n    if ('[[Configurable]]' in Desc) {\n      obj.configurable = !!Desc['[[Configurable]]'];\n    }\n    return obj;\n  };\n  return fromPropertyDescriptor;\n}\n\nvar FromPropertyDescriptor$1;\nvar hasRequiredFromPropertyDescriptor;\nfunction requireFromPropertyDescriptor() {\n  if (hasRequiredFromPropertyDescriptor) return FromPropertyDescriptor$1;\n  hasRequiredFromPropertyDescriptor = 1;\n  var assertRecord = requireAssertRecord();\n  var fromPropertyDescriptor = requireFromPropertyDescriptor$1();\n  var Type = Type$8;\n\n  // https://262.ecma-international.org/6.0/#sec-frompropertydescriptor\n\n  FromPropertyDescriptor$1 = function FromPropertyDescriptor(Desc) {\n    if (typeof Desc !== 'undefined') {\n      assertRecord(Type, 'Property Descriptor', 'Desc', Desc);\n    }\n    return fromPropertyDescriptor(Desc);\n  };\n  return FromPropertyDescriptor$1;\n}\n\nvar IsGenericDescriptor;\nvar hasRequiredIsGenericDescriptor;\nfunction requireIsGenericDescriptor() {\n  if (hasRequiredIsGenericDescriptor) return IsGenericDescriptor;\n  hasRequiredIsGenericDescriptor = 1;\n  var assertRecord = requireAssertRecord();\n  var IsAccessorDescriptor = requireIsAccessorDescriptor();\n  var IsDataDescriptor = requireIsDataDescriptor();\n  var Type = Type$8;\n\n  // https://262.ecma-international.org/6.0/#sec-isgenericdescriptor\n\n  IsGenericDescriptor = function IsGenericDescriptor(Desc) {\n    if (typeof Desc === 'undefined') {\n      return false;\n    }\n    assertRecord(Type, 'Property Descriptor', 'Desc', Desc);\n    if (!IsAccessorDescriptor(Desc) && !IsDataDescriptor(Desc)) {\n      return true;\n    }\n    return false;\n  };\n  return IsGenericDescriptor;\n}\n\nvar ValidateAndApplyPropertyDescriptor;\nvar hasRequiredValidateAndApplyPropertyDescriptor;\nfunction requireValidateAndApplyPropertyDescriptor() {\n  if (hasRequiredValidateAndApplyPropertyDescriptor) return ValidateAndApplyPropertyDescriptor;\n  hasRequiredValidateAndApplyPropertyDescriptor = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $TypeError = GetIntrinsic('%TypeError%');\n  var DefineOwnProperty = requireDefineOwnProperty();\n  var isFullyPopulatedPropertyDescriptor = requireIsFullyPopulatedPropertyDescriptor();\n  var isPropertyDescriptor = requireIsPropertyDescriptor();\n  var FromPropertyDescriptor = requireFromPropertyDescriptor();\n  var IsAccessorDescriptor = requireIsAccessorDescriptor();\n  var IsDataDescriptor = requireIsDataDescriptor();\n  var IsGenericDescriptor = requireIsGenericDescriptor();\n  var IsPropertyKey = requireIsPropertyKey();\n  var SameValue = requireSameValue();\n  var Type = Type$8;\n\n  // https://262.ecma-international.org/13.0/#sec-validateandapplypropertydescriptor\n\n  // see https://github.com/tc39/ecma262/pull/2468 for ES2022 changes\n\n  // eslint-disable-next-line max-lines-per-function, max-statements, max-params\n  ValidateAndApplyPropertyDescriptor = function ValidateAndApplyPropertyDescriptor(O, P, extensible, Desc, current) {\n    var oType = Type(O);\n    if (oType !== 'Undefined' && oType !== 'Object') {\n      throw new $TypeError('Assertion failed: O must be undefined or an Object');\n    }\n    if (!IsPropertyKey(P)) {\n      throw new $TypeError('Assertion failed: P must be a Property Key');\n    }\n    if (Type(extensible) !== 'Boolean') {\n      throw new $TypeError('Assertion failed: extensible must be a Boolean');\n    }\n    if (!isPropertyDescriptor({\n      Type: Type,\n      IsDataDescriptor: IsDataDescriptor,\n      IsAccessorDescriptor: IsAccessorDescriptor\n    }, Desc)) {\n      throw new $TypeError('Assertion failed: Desc must be a Property Descriptor');\n    }\n    if (Type(current) !== 'Undefined' && !isPropertyDescriptor({\n      Type: Type,\n      IsDataDescriptor: IsDataDescriptor,\n      IsAccessorDescriptor: IsAccessorDescriptor\n    }, current)) {\n      throw new $TypeError('Assertion failed: current must be a Property Descriptor, or undefined');\n    }\n    if (Type(current) === 'Undefined') {\n      // step 2\n      if (!extensible) {\n        return false; // step 2.a\n      }\n\n      if (oType === 'Undefined') {\n        return true; // step 2.b\n      }\n\n      if (IsAccessorDescriptor(Desc)) {\n        // step 2.c\n        return DefineOwnProperty(IsDataDescriptor, SameValue, FromPropertyDescriptor, O, P, Desc);\n      }\n      // step 2.d\n      return DefineOwnProperty(IsDataDescriptor, SameValue, FromPropertyDescriptor, O, P, {\n        '[[Configurable]]': !!Desc['[[Configurable]]'],\n        '[[Enumerable]]': !!Desc['[[Enumerable]]'],\n        '[[Value]]': Desc['[[Value]]'],\n        '[[Writable]]': !!Desc['[[Writable]]']\n      });\n    }\n\n    // 3. Assert: current is a fully populated Property Descriptor.\n    if (!isFullyPopulatedPropertyDescriptor({\n      IsAccessorDescriptor: IsAccessorDescriptor,\n      IsDataDescriptor: IsDataDescriptor\n    }, current)) {\n      throw new $TypeError('`current`, when present, must be a fully populated and valid Property Descriptor');\n    }\n\n    // 4. If every field in Desc is absent, return true.\n    // this can't really match the assertion that it's a Property Descriptor in our JS implementation\n\n    // 5. If current.[[Configurable]] is false, then\n    if (!current['[[Configurable]]']) {\n      if ('[[Configurable]]' in Desc && Desc['[[Configurable]]']) {\n        // step 5.a\n        return false;\n      }\n      if ('[[Enumerable]]' in Desc && !SameValue(Desc['[[Enumerable]]'], current['[[Enumerable]]'])) {\n        // step 5.b\n        return false;\n      }\n      if (!IsGenericDescriptor(Desc) && !SameValue(IsAccessorDescriptor(Desc), IsAccessorDescriptor(current))) {\n        // step 5.c\n        return false;\n      }\n      if (IsAccessorDescriptor(current)) {\n        // step 5.d\n        if ('[[Get]]' in Desc && !SameValue(Desc['[[Get]]'], current['[[Get]]'])) {\n          return false;\n        }\n        if ('[[Set]]' in Desc && !SameValue(Desc['[[Set]]'], current['[[Set]]'])) {\n          return false;\n        }\n      } else if (!current['[[Writable]]']) {\n        // step 5.e\n        if ('[[Writable]]' in Desc && Desc['[[Writable]]']) {\n          return false;\n        }\n        if ('[[Value]]' in Desc && !SameValue(Desc['[[Value]]'], current['[[Value]]'])) {\n          return false;\n        }\n      }\n    }\n\n    // 6. If O is not undefined, then\n    if (oType !== 'Undefined') {\n      var configurable;\n      var enumerable;\n      if (IsDataDescriptor(current) && IsAccessorDescriptor(Desc)) {\n        // step 6.a\n        configurable = ('[[Configurable]]' in Desc ? Desc : current)['[[Configurable]]'];\n        enumerable = ('[[Enumerable]]' in Desc ? Desc : current)['[[Enumerable]]'];\n        // Replace the property named P of object O with an accessor property having [[Configurable]] and [[Enumerable]] attributes as described by current and each other attribute set to its default value.\n        return DefineOwnProperty(IsDataDescriptor, SameValue, FromPropertyDescriptor, O, P, {\n          '[[Configurable]]': !!configurable,\n          '[[Enumerable]]': !!enumerable,\n          '[[Get]]': ('[[Get]]' in Desc ? Desc : current)['[[Get]]'],\n          '[[Set]]': ('[[Set]]' in Desc ? Desc : current)['[[Set]]']\n        });\n      } else if (IsAccessorDescriptor(current) && IsDataDescriptor(Desc)) {\n        configurable = ('[[Configurable]]' in Desc ? Desc : current)['[[Configurable]]'];\n        enumerable = ('[[Enumerable]]' in Desc ? Desc : current)['[[Enumerable]]'];\n        // i. Replace the property named P of object O with a data property having [[Configurable]] and [[Enumerable]] attributes as described by current and each other attribute set to its default value.\n        return DefineOwnProperty(IsDataDescriptor, SameValue, FromPropertyDescriptor, O, P, {\n          '[[Configurable]]': !!configurable,\n          '[[Enumerable]]': !!enumerable,\n          '[[Value]]': ('[[Value]]' in Desc ? Desc : current)['[[Value]]'],\n          '[[Writable]]': !!('[[Writable]]' in Desc ? Desc : current)['[[Writable]]']\n        });\n      }\n\n      // For each field of Desc that is present, set the corresponding attribute of the property named P of object O to the value of the field.\n      return DefineOwnProperty(IsDataDescriptor, SameValue, FromPropertyDescriptor, O, P, Desc);\n    }\n    return true; // step 7\n  };\n\n  return ValidateAndApplyPropertyDescriptor;\n}\n\nvar OrdinaryDefineOwnProperty;\nvar hasRequiredOrdinaryDefineOwnProperty;\nfunction requireOrdinaryDefineOwnProperty() {\n  if (hasRequiredOrdinaryDefineOwnProperty) return OrdinaryDefineOwnProperty;\n  hasRequiredOrdinaryDefineOwnProperty = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $gOPD = requireGopd();\n  var $SyntaxError = GetIntrinsic('%SyntaxError%');\n  var $TypeError = GetIntrinsic('%TypeError%');\n  var isPropertyDescriptor = requireIsPropertyDescriptor();\n  var IsAccessorDescriptor = requireIsAccessorDescriptor();\n  var IsDataDescriptor = requireIsDataDescriptor();\n  var IsExtensible = requireIsExtensible();\n  var IsPropertyKey = requireIsPropertyKey();\n  var ToPropertyDescriptor = requireToPropertyDescriptor();\n  var SameValue = requireSameValue();\n  var Type = Type$8;\n  var ValidateAndApplyPropertyDescriptor = requireValidateAndApplyPropertyDescriptor();\n\n  // https://262.ecma-international.org/6.0/#sec-ordinarydefineownproperty\n\n  OrdinaryDefineOwnProperty = function OrdinaryDefineOwnProperty(O, P, Desc) {\n    if (Type(O) !== 'Object') {\n      throw new $TypeError('Assertion failed: O must be an Object');\n    }\n    if (!IsPropertyKey(P)) {\n      throw new $TypeError('Assertion failed: P must be a Property Key');\n    }\n    if (!isPropertyDescriptor({\n      Type: Type,\n      IsDataDescriptor: IsDataDescriptor,\n      IsAccessorDescriptor: IsAccessorDescriptor\n    }, Desc)) {\n      throw new $TypeError('Assertion failed: Desc must be a Property Descriptor');\n    }\n    if (!$gOPD) {\n      // ES3/IE 8 fallback\n      if (IsAccessorDescriptor(Desc)) {\n        throw new $SyntaxError('This environment does not support accessor property descriptors.');\n      }\n      var creatingNormalDataProperty = !(P in O) && Desc['[[Writable]]'] && Desc['[[Enumerable]]'] && Desc['[[Configurable]]'] && '[[Value]]' in Desc;\n      var settingExistingDataProperty = P in O && (!('[[Configurable]]' in Desc) || Desc['[[Configurable]]']) && (!('[[Enumerable]]' in Desc) || Desc['[[Enumerable]]']) && (!('[[Writable]]' in Desc) || Desc['[[Writable]]']) && '[[Value]]' in Desc;\n      if (creatingNormalDataProperty || settingExistingDataProperty) {\n        O[P] = Desc['[[Value]]']; // eslint-disable-line no-param-reassign\n        return SameValue(O[P], Desc['[[Value]]']);\n      }\n      throw new $SyntaxError('This environment does not support defining non-writable, non-enumerable, or non-configurable properties');\n    }\n    var desc = $gOPD(O, P);\n    var current = desc && ToPropertyDescriptor(desc);\n    var extensible = IsExtensible(O);\n    return ValidateAndApplyPropertyDescriptor(O, P, extensible, Desc, current);\n  };\n  return OrdinaryDefineOwnProperty;\n}\n\nvar CreateDataProperty$1;\nvar hasRequiredCreateDataProperty;\nfunction requireCreateDataProperty() {\n  if (hasRequiredCreateDataProperty) return CreateDataProperty$1;\n  hasRequiredCreateDataProperty = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $TypeError = GetIntrinsic('%TypeError%');\n  var IsPropertyKey = requireIsPropertyKey();\n  var OrdinaryDefineOwnProperty = requireOrdinaryDefineOwnProperty();\n  var Type = Type$8;\n\n  // https://262.ecma-international.org/6.0/#sec-createdataproperty\n\n  CreateDataProperty$1 = function CreateDataProperty(O, P, V) {\n    if (Type(O) !== 'Object') {\n      throw new $TypeError('Assertion failed: Type(O) is not Object');\n    }\n    if (!IsPropertyKey(P)) {\n      throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true');\n    }\n    var newDesc = {\n      '[[Configurable]]': true,\n      '[[Enumerable]]': true,\n      '[[Value]]': V,\n      '[[Writable]]': true\n    };\n    return OrdinaryDefineOwnProperty(O, P, newDesc);\n  };\n  return CreateDataProperty$1;\n}\n\nvar GetIntrinsic$5 = getIntrinsic;\nvar $TypeError$3 = GetIntrinsic$5('%TypeError%');\nvar CreateDataProperty = requireCreateDataProperty();\nvar IsPropertyKey$2 = requireIsPropertyKey();\nvar Type$3 = Type$8;\n\n// // https://262.ecma-international.org/6.0/#sec-createdatapropertyorthrow\n\nvar CreateDataPropertyOrThrow$1 = function CreateDataPropertyOrThrow(O, P, V) {\n  if (Type$3(O) !== 'Object') {\n    throw new $TypeError$3('Assertion failed: Type(O) is not Object');\n  }\n  if (!IsPropertyKey$2(P)) {\n    throw new $TypeError$3('Assertion failed: IsPropertyKey(P) is not true');\n  }\n  var success = CreateDataProperty(O, P, V);\n  if (!success) {\n    throw new $TypeError$3('unable to create data property');\n  }\n  return success;\n};\n\nvar GetIntrinsic$4 = getIntrinsic;\nvar $TypeError$2 = GetIntrinsic$4('%TypeError%');\nvar DefineOwnProperty = requireDefineOwnProperty();\nvar FromPropertyDescriptor = requireFromPropertyDescriptor();\nvar IsDataDescriptor = requireIsDataDescriptor();\nvar IsPropertyKey$1 = requireIsPropertyKey();\nvar SameValue = requireSameValue();\nvar Type$2 = Type$8;\n\n// https://262.ecma-international.org/6.0/#sec-createmethodproperty\n\nvar CreateMethodProperty$1 = function CreateMethodProperty(O, P, V) {\n  if (Type$2(O) !== 'Object') {\n    throw new $TypeError$2('Assertion failed: Type(O) is not Object');\n  }\n  if (!IsPropertyKey$1(P)) {\n    throw new $TypeError$2('Assertion failed: IsPropertyKey(P) is not true');\n  }\n  var newDesc = {\n    '[[Configurable]]': true,\n    '[[Enumerable]]': false,\n    '[[Value]]': V,\n    '[[Writable]]': true\n  };\n  return DefineOwnProperty(IsDataDescriptor, SameValue, FromPropertyDescriptor, O, P, newDesc);\n};\n\nvar CheckObjectCoercible;\nvar hasRequiredCheckObjectCoercible;\nfunction requireCheckObjectCoercible() {\n  if (hasRequiredCheckObjectCoercible) return CheckObjectCoercible;\n  hasRequiredCheckObjectCoercible = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $TypeError = GetIntrinsic('%TypeError%');\n\n  // http://262.ecma-international.org/5.1/#sec-9.10\n\n  CheckObjectCoercible = function CheckObjectCoercible(value, optMessage) {\n    if (value == null) {\n      throw new $TypeError(optMessage || 'Cannot call method on ' + value);\n    }\n    return value;\n  };\n  return CheckObjectCoercible;\n}\n\nvar RequireObjectCoercible;\nvar hasRequiredRequireObjectCoercible;\nfunction requireRequireObjectCoercible() {\n  if (hasRequiredRequireObjectCoercible) return RequireObjectCoercible;\n  hasRequiredRequireObjectCoercible = 1;\n  RequireObjectCoercible = requireCheckObjectCoercible();\n  return RequireObjectCoercible;\n}\n\nvar ToObject;\nvar hasRequiredToObject;\nfunction requireToObject() {\n  if (hasRequiredToObject) return ToObject;\n  hasRequiredToObject = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $Object = GetIntrinsic('%Object%');\n  var RequireObjectCoercible = requireRequireObjectCoercible();\n\n  // https://262.ecma-international.org/6.0/#sec-toobject\n\n  ToObject = function ToObject(value) {\n    RequireObjectCoercible(value);\n    return $Object(value);\n  };\n  return ToObject;\n}\n\nvar GetV$1;\nvar hasRequiredGetV;\nfunction requireGetV() {\n  if (hasRequiredGetV) return GetV$1;\n  hasRequiredGetV = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $TypeError = GetIntrinsic('%TypeError%');\n  var IsPropertyKey = requireIsPropertyKey();\n  var ToObject = requireToObject();\n\n  // https://262.ecma-international.org/6.0/#sec-getv\n\n  GetV$1 = function GetV(V, P) {\n    // 7.3.2.1\n    if (!IsPropertyKey(P)) {\n      throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true');\n    }\n\n    // 7.3.2.2-3\n    var O = ToObject(V);\n\n    // 7.3.2.4\n    return O[P];\n  };\n  return GetV$1;\n}\n\nvar util_inspect;\nvar hasRequiredUtil_inspect;\nfunction requireUtil_inspect() {\n  if (hasRequiredUtil_inspect) return util_inspect;\n  hasRequiredUtil_inspect = 1;\n  util_inspect = require$$0.inspect;\n  return util_inspect;\n}\n\nvar objectInspect;\nvar hasRequiredObjectInspect;\nfunction requireObjectInspect() {\n  if (hasRequiredObjectInspect) return objectInspect;\n  hasRequiredObjectInspect = 1;\n  var hasMap = typeof Map === 'function' && Map.prototype;\n  var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;\n  var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null;\n  var mapForEach = hasMap && Map.prototype.forEach;\n  var hasSet = typeof Set === 'function' && Set.prototype;\n  var setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null;\n  var setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null;\n  var setForEach = hasSet && Set.prototype.forEach;\n  var hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype;\n  var weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;\n  var hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype;\n  var weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;\n  var hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype;\n  var weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;\n  var booleanValueOf = Boolean.prototype.valueOf;\n  var objectToString = Object.prototype.toString;\n  var functionToString = Function.prototype.toString;\n  var $match = String.prototype.match;\n  var $slice = String.prototype.slice;\n  var $replace = String.prototype.replace;\n  var $toUpperCase = String.prototype.toUpperCase;\n  var $toLowerCase = String.prototype.toLowerCase;\n  var $test = RegExp.prototype.test;\n  var $concat = Array.prototype.concat;\n  var $join = Array.prototype.join;\n  var $arrSlice = Array.prototype.slice;\n  var $floor = Math.floor;\n  var bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null;\n  var gOPS = Object.getOwnPropertySymbols;\n  var symToString = typeof Symbol === 'function' && _typeof(Symbol.iterator) === 'symbol' ? Symbol.prototype.toString : null;\n  var hasShammedSymbols = typeof Symbol === 'function' && _typeof(Symbol.iterator) === 'object';\n  // ie, `has-tostringtag/shams\n  var toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (_typeof(Symbol.toStringTag) === hasShammedSymbols ? 'object' : 'symbol') ? Symbol.toStringTag : null;\n  var isEnumerable = Object.prototype.propertyIsEnumerable;\n  var gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype // eslint-disable-line no-proto\n  ? function (O) {\n    return O.__proto__; // eslint-disable-line no-proto\n  } : null);\n  function addNumericSeparator(num, str) {\n    if (num === Infinity || num === -Infinity || num !== num || num && num > -1000 && num < 1000 || $test.call(/e/, str)) {\n      return str;\n    }\n    var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;\n    if (typeof num === 'number') {\n      var _int = num < 0 ? -$floor(-num) : $floor(num); // trunc(num)\n      if (_int !== num) {\n        var intStr = String(_int);\n        var dec = $slice.call(str, intStr.length + 1);\n        return $replace.call(intStr, sepRegex, '$&_') + '.' + $replace.call($replace.call(dec, /([0-9]{3})/g, '$&_'), /_$/, '');\n      }\n    }\n    return $replace.call(str, sepRegex, '$&_');\n  }\n  var utilInspect = requireUtil_inspect();\n  var inspectCustom = utilInspect.custom;\n  var inspectSymbol = isSymbol(inspectCustom) ? inspectCustom : null;\n  objectInspect = function inspect_(obj, options, depth, seen) {\n    var opts = options || {};\n    if (has(opts, 'quoteStyle') && opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double') {\n      throw new TypeError('option \"quoteStyle\" must be \"single\" or \"double\"');\n    }\n    if (has(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number' ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity : opts.maxStringLength !== null)) {\n      throw new TypeError('option \"maxStringLength\", if provided, must be a positive integer, Infinity, or `null`');\n    }\n    var customInspect = has(opts, 'customInspect') ? opts.customInspect : true;\n    if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') {\n      throw new TypeError('option \"customInspect\", if provided, must be `true`, `false`, or `\\'symbol\\'`');\n    }\n    if (has(opts, 'indent') && opts.indent !== null && opts.indent !== '\\t' && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)) {\n      throw new TypeError('option \"indent\" must be \"\\\\t\", an integer > 0, or `null`');\n    }\n    if (has(opts, 'numericSeparator') && typeof opts.numericSeparator !== 'boolean') {\n      throw new TypeError('option \"numericSeparator\", if provided, must be `true` or `false`');\n    }\n    var numericSeparator = opts.numericSeparator;\n    if (typeof obj === 'undefined') {\n      return 'undefined';\n    }\n    if (obj === null) {\n      return 'null';\n    }\n    if (typeof obj === 'boolean') {\n      return obj ? 'true' : 'false';\n    }\n    if (typeof obj === 'string') {\n      return inspectString(obj, opts);\n    }\n    if (typeof obj === 'number') {\n      if (obj === 0) {\n        return Infinity / obj > 0 ? '0' : '-0';\n      }\n      var str = String(obj);\n      return numericSeparator ? addNumericSeparator(obj, str) : str;\n    }\n    if (typeof obj === 'bigint') {\n      var bigIntStr = String(obj) + 'n';\n      return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr;\n    }\n    var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth;\n    if (typeof depth === 'undefined') {\n      depth = 0;\n    }\n    if (depth >= maxDepth && maxDepth > 0 && _typeof(obj) === 'object') {\n      return isArray(obj) ? '[Array]' : '[Object]';\n    }\n    var indent = getIndent(opts, depth);\n    if (typeof seen === 'undefined') {\n      seen = [];\n    } else if (indexOf(seen, obj) >= 0) {\n      return '[Circular]';\n    }\n    function inspect(value, from, noIndent) {\n      if (from) {\n        seen = $arrSlice.call(seen);\n        seen.push(from);\n      }\n      if (noIndent) {\n        var newOpts = {\n          depth: opts.depth\n        };\n        if (has(opts, 'quoteStyle')) {\n          newOpts.quoteStyle = opts.quoteStyle;\n        }\n        return inspect_(value, newOpts, depth + 1, seen);\n      }\n      return inspect_(value, opts, depth + 1, seen);\n    }\n    if (typeof obj === 'function' && !isRegExp(obj)) {\n      // in older engines, regexes are callable\n      var name = nameOf(obj);\n      var keys = arrObjKeys(obj, inspect);\n      return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + $join.call(keys, ', ') + ' }' : '');\n    }\n    if (isSymbol(obj)) {\n      var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\\(.*\\))_[^)]*$/, '$1') : symToString.call(obj);\n      return _typeof(obj) === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString;\n    }\n    if (isElement(obj)) {\n      var s = '<' + $toLowerCase.call(String(obj.nodeName));\n      var attrs = obj.attributes || [];\n      for (var i = 0; i < attrs.length; i++) {\n        s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts);\n      }\n      s += '>';\n      if (obj.childNodes && obj.childNodes.length) {\n        s += '...';\n      }\n      s += '</' + $toLowerCase.call(String(obj.nodeName)) + '>';\n      return s;\n    }\n    if (isArray(obj)) {\n      if (obj.length === 0) {\n        return '[]';\n      }\n      var xs = arrObjKeys(obj, inspect);\n      if (indent && !singleLineValues(xs)) {\n        return '[' + indentedJoin(xs, indent) + ']';\n      }\n      return '[ ' + $join.call(xs, ', ') + ' ]';\n    }\n    if (isError(obj)) {\n      var parts = arrObjKeys(obj, inspect);\n      if (!('cause' in Error.prototype) && 'cause' in obj && !isEnumerable.call(obj, 'cause')) {\n        return '{ [' + String(obj) + '] ' + $join.call($concat.call('[cause]: ' + inspect(obj.cause), parts), ', ') + ' }';\n      }\n      if (parts.length === 0) {\n        return '[' + String(obj) + ']';\n      }\n      return '{ [' + String(obj) + '] ' + $join.call(parts, ', ') + ' }';\n    }\n    if (_typeof(obj) === 'object' && customInspect) {\n      if (inspectSymbol && typeof obj[inspectSymbol] === 'function' && utilInspect) {\n        return utilInspect(obj, {\n          depth: maxDepth - depth\n        });\n      } else if (customInspect !== 'symbol' && typeof obj.inspect === 'function') {\n        return obj.inspect();\n      }\n    }\n    if (isMap(obj)) {\n      var mapParts = [];\n      if (mapForEach) {\n        mapForEach.call(obj, function (value, key) {\n          mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj));\n        });\n      }\n      return collectionOf('Map', mapSize.call(obj), mapParts, indent);\n    }\n    if (isSet(obj)) {\n      var setParts = [];\n      if (setForEach) {\n        setForEach.call(obj, function (value) {\n          setParts.push(inspect(value, obj));\n        });\n      }\n      return collectionOf('Set', setSize.call(obj), setParts, indent);\n    }\n    if (isWeakMap(obj)) {\n      return weakCollectionOf('WeakMap');\n    }\n    if (isWeakSet(obj)) {\n      return weakCollectionOf('WeakSet');\n    }\n    if (isWeakRef(obj)) {\n      return weakCollectionOf('WeakRef');\n    }\n    if (isNumber(obj)) {\n      return markBoxed(inspect(Number(obj)));\n    }\n    if (isBigInt(obj)) {\n      return markBoxed(inspect(bigIntValueOf.call(obj)));\n    }\n    if (isBoolean(obj)) {\n      return markBoxed(booleanValueOf.call(obj));\n    }\n    if (isString(obj)) {\n      return markBoxed(inspect(String(obj)));\n    }\n    if (!isDate(obj) && !isRegExp(obj)) {\n      var ys = arrObjKeys(obj, inspect);\n      var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;\n      var protoTag = obj instanceof Object ? '' : 'null prototype';\n      var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? 'Object' : '';\n      var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : '';\n      var tag = constructorTag + (stringTag || protoTag ? '[' + $join.call($concat.call([], stringTag || [], protoTag || []), ': ') + '] ' : '');\n      if (ys.length === 0) {\n        return tag + '{}';\n      }\n      if (indent) {\n        return tag + '{' + indentedJoin(ys, indent) + '}';\n      }\n      return tag + '{ ' + $join.call(ys, ', ') + ' }';\n    }\n    return String(obj);\n  };\n  function wrapQuotes(s, defaultStyle, opts) {\n    var quoteChar = (opts.quoteStyle || defaultStyle) === 'double' ? '\"' : \"'\";\n    return quoteChar + s + quoteChar;\n  }\n  function quote(s) {\n    return $replace.call(String(s), /\"/g, '&quot;');\n  }\n  function isArray(obj) {\n    return toStr(obj) === '[object Array]' && (!toStringTag || !(_typeof(obj) === 'object' && toStringTag in obj));\n  }\n  function isDate(obj) {\n    return toStr(obj) === '[object Date]' && (!toStringTag || !(_typeof(obj) === 'object' && toStringTag in obj));\n  }\n  function isRegExp(obj) {\n    return toStr(obj) === '[object RegExp]' && (!toStringTag || !(_typeof(obj) === 'object' && toStringTag in obj));\n  }\n  function isError(obj) {\n    return toStr(obj) === '[object Error]' && (!toStringTag || !(_typeof(obj) === 'object' && toStringTag in obj));\n  }\n  function isString(obj) {\n    return toStr(obj) === '[object String]' && (!toStringTag || !(_typeof(obj) === 'object' && toStringTag in obj));\n  }\n  function isNumber(obj) {\n    return toStr(obj) === '[object Number]' && (!toStringTag || !(_typeof(obj) === 'object' && toStringTag in obj));\n  }\n  function isBoolean(obj) {\n    return toStr(obj) === '[object Boolean]' && (!toStringTag || !(_typeof(obj) === 'object' && toStringTag in obj));\n  }\n\n  // Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives\n  function isSymbol(obj) {\n    if (hasShammedSymbols) {\n      return obj && _typeof(obj) === 'object' && obj instanceof Symbol;\n    }\n    if (_typeof(obj) === 'symbol') {\n      return true;\n    }\n    if (!obj || _typeof(obj) !== 'object' || !symToString) {\n      return false;\n    }\n    try {\n      symToString.call(obj);\n      return true;\n    } catch (e) {}\n    return false;\n  }\n  function isBigInt(obj) {\n    if (!obj || _typeof(obj) !== 'object' || !bigIntValueOf) {\n      return false;\n    }\n    try {\n      bigIntValueOf.call(obj);\n      return true;\n    } catch (e) {}\n    return false;\n  }\n  var hasOwn = Object.prototype.hasOwnProperty || function (key) {\n    return key in this;\n  };\n  function has(obj, key) {\n    return hasOwn.call(obj, key);\n  }\n  function toStr(obj) {\n    return objectToString.call(obj);\n  }\n  function nameOf(f) {\n    if (f.name) {\n      return f.name;\n    }\n    var m = $match.call(functionToString.call(f), /^function\\s*([\\w$]+)/);\n    if (m) {\n      return m[1];\n    }\n    return null;\n  }\n  function indexOf(xs, x) {\n    if (xs.indexOf) {\n      return xs.indexOf(x);\n    }\n    for (var i = 0, l = xs.length; i < l; i++) {\n      if (xs[i] === x) {\n        return i;\n      }\n    }\n    return -1;\n  }\n  function isMap(x) {\n    if (!mapSize || !x || _typeof(x) !== 'object') {\n      return false;\n    }\n    try {\n      mapSize.call(x);\n      try {\n        setSize.call(x);\n      } catch (s) {\n        return true;\n      }\n      return x instanceof Map; // core-js workaround, pre-v2.5.0\n    } catch (e) {}\n    return false;\n  }\n  function isWeakMap(x) {\n    if (!weakMapHas || !x || _typeof(x) !== 'object') {\n      return false;\n    }\n    try {\n      weakMapHas.call(x, weakMapHas);\n      try {\n        weakSetHas.call(x, weakSetHas);\n      } catch (s) {\n        return true;\n      }\n      return x instanceof WeakMap; // core-js workaround, pre-v2.5.0\n    } catch (e) {}\n    return false;\n  }\n  function isWeakRef(x) {\n    if (!weakRefDeref || !x || _typeof(x) !== 'object') {\n      return false;\n    }\n    try {\n      weakRefDeref.call(x);\n      return true;\n    } catch (e) {}\n    return false;\n  }\n  function isSet(x) {\n    if (!setSize || !x || _typeof(x) !== 'object') {\n      return false;\n    }\n    try {\n      setSize.call(x);\n      try {\n        mapSize.call(x);\n      } catch (m) {\n        return true;\n      }\n      return x instanceof Set; // core-js workaround, pre-v2.5.0\n    } catch (e) {}\n    return false;\n  }\n  function isWeakSet(x) {\n    if (!weakSetHas || !x || _typeof(x) !== 'object') {\n      return false;\n    }\n    try {\n      weakSetHas.call(x, weakSetHas);\n      try {\n        weakMapHas.call(x, weakMapHas);\n      } catch (s) {\n        return true;\n      }\n      return x instanceof WeakSet; // core-js workaround, pre-v2.5.0\n    } catch (e) {}\n    return false;\n  }\n  function isElement(x) {\n    if (!x || _typeof(x) !== 'object') {\n      return false;\n    }\n    if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) {\n      return true;\n    }\n    return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function';\n  }\n  function inspectString(str, opts) {\n    if (str.length > opts.maxStringLength) {\n      var remaining = str.length - opts.maxStringLength;\n      var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : '');\n      return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer;\n    }\n    // eslint-disable-next-line no-control-regex\n    var s = $replace.call($replace.call(str, /(['\\\\])/g, '\\\\$1'), /[\\x00-\\x1f]/g, lowbyte);\n    return wrapQuotes(s, 'single', opts);\n  }\n  function lowbyte(c) {\n    var n = c.charCodeAt(0);\n    var x = {\n      8: 'b',\n      9: 't',\n      10: 'n',\n      12: 'f',\n      13: 'r'\n    }[n];\n    if (x) {\n      return '\\\\' + x;\n    }\n    return '\\\\x' + (n < 0x10 ? '0' : '') + $toUpperCase.call(n.toString(16));\n  }\n  function markBoxed(str) {\n    return 'Object(' + str + ')';\n  }\n  function weakCollectionOf(type) {\n    return type + ' { ? }';\n  }\n  function collectionOf(type, size, entries, indent) {\n    var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ', ');\n    return type + ' (' + size + ') {' + joinedEntries + '}';\n  }\n  function singleLineValues(xs) {\n    for (var i = 0; i < xs.length; i++) {\n      if (indexOf(xs[i], '\\n') >= 0) {\n        return false;\n      }\n    }\n    return true;\n  }\n  function getIndent(opts, depth) {\n    var baseIndent;\n    if (opts.indent === '\\t') {\n      baseIndent = '\\t';\n    } else if (typeof opts.indent === 'number' && opts.indent > 0) {\n      baseIndent = $join.call(Array(opts.indent + 1), ' ');\n    } else {\n      return null;\n    }\n    return {\n      base: baseIndent,\n      prev: $join.call(Array(depth + 1), baseIndent)\n    };\n  }\n  function indentedJoin(xs, indent) {\n    if (xs.length === 0) {\n      return '';\n    }\n    var lineJoiner = '\\n' + indent.prev + indent.base;\n    return lineJoiner + $join.call(xs, ',' + lineJoiner) + '\\n' + indent.prev;\n  }\n  function arrObjKeys(obj, inspect) {\n    var isArr = isArray(obj);\n    var xs = [];\n    if (isArr) {\n      xs.length = obj.length;\n      for (var i = 0; i < obj.length; i++) {\n        xs[i] = has(obj, i) ? inspect(obj[i], obj) : '';\n      }\n    }\n    var syms = typeof gOPS === 'function' ? gOPS(obj) : [];\n    var symMap;\n    if (hasShammedSymbols) {\n      symMap = {};\n      for (var k = 0; k < syms.length; k++) {\n        symMap['$' + syms[k]] = syms[k];\n      }\n    }\n    for (var key in obj) {\n      // eslint-disable-line no-restricted-syntax\n      if (!has(obj, key)) {\n        continue;\n      } // eslint-disable-line no-restricted-syntax, no-continue\n      if (isArr && String(Number(key)) === key && key < obj.length) {\n        continue;\n      } // eslint-disable-line no-restricted-syntax, no-continue\n      if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) {\n        // this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section\n        continue; // eslint-disable-line no-restricted-syntax, no-continue\n      } else if ($test.call(/[^\\w$]/, key)) {\n        xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj));\n      } else {\n        xs.push(key + ': ' + inspect(obj[key], obj));\n      }\n    }\n    if (typeof gOPS === 'function') {\n      for (var j = 0; j < syms.length; j++) {\n        if (isEnumerable.call(obj, syms[j])) {\n          xs.push('[' + inspect(syms[j]) + ']: ' + inspect(obj[syms[j]], obj));\n        }\n      }\n    }\n    return xs;\n  }\n  return objectInspect;\n}\n\nvar GetIntrinsic$3 = getIntrinsic;\nvar $TypeError$1 = GetIntrinsic$3('%TypeError%');\nvar GetV = requireGetV();\nvar IsCallable = requireIsCallable();\nvar IsPropertyKey = requireIsPropertyKey();\nvar inspect = requireObjectInspect();\n\n// https://262.ecma-international.org/6.0/#sec-getmethod\n\nvar GetMethod$1 = function GetMethod(O, P) {\n  // 7.3.9.1\n  if (!IsPropertyKey(P)) {\n    throw new $TypeError$1('Assertion failed: IsPropertyKey(P) is not true');\n  }\n\n  // 7.3.9.2\n  var func = GetV(O, P);\n\n  // 7.3.9.4\n  if (func == null) {\n    return void 0;\n  }\n\n  // 7.3.9.5\n  if (!IsCallable(func)) {\n    throw new $TypeError$1(inspect(P) + ' is not a function: ' + inspect(func));\n  }\n\n  // 7.3.9.6\n  return func;\n};\n\n// https://262.ecma-international.org/6.0/#sec-isarray\nvar IsArray$1 = IsArray$2;\n\nvar hasSymbols$1 = shams$1;\nvar shams = function hasToStringTagShams() {\n  return hasSymbols$1() && !!Symbol.toStringTag;\n};\n\nvar strValue = String.prototype.valueOf;\nvar tryStringObject = function tryStringObject(value) {\n  try {\n    strValue.call(value);\n    return true;\n  } catch (e) {\n    return false;\n  }\n};\nvar toStr = Object.prototype.toString;\nvar strClass = '[object String]';\nvar hasToStringTag = shams();\nvar isString$1 = function isString(value) {\n  if (typeof value === 'string') {\n    return true;\n  }\n  if (_typeof(value) !== 'object') {\n    return false;\n  }\n  return hasToStringTag ? tryStringObject(value) : toStr.call(value) === strClass;\n};\n\nvar hasSymbols = hasSymbols$4();\nvar GetIntrinsic$2 = getIntrinsic;\nvar callBound$1 = callBound$3;\nvar isString = isString$1;\nvar $iterator = GetIntrinsic$2('%Symbol.iterator%', true);\nvar $stringSlice = callBound$1('String.prototype.slice');\nvar $String = GetIntrinsic$2('%String%');\nvar getIteratorMethod$1 = function getIteratorMethod(ES, iterable) {\n  var usingIterator;\n  if (hasSymbols) {\n    usingIterator = ES.GetMethod(iterable, $iterator);\n  } else if (ES.IsArray(iterable)) {\n    usingIterator = function usingIterator() {\n      var i = -1;\n      var arr = this; // eslint-disable-line no-invalid-this\n      return {\n        next: function next() {\n          i += 1;\n          return {\n            done: i >= arr.length,\n            value: arr[i]\n          };\n        }\n      };\n    };\n  } else if (isString(iterable)) {\n    usingIterator = function usingIterator() {\n      var i = 0;\n      return {\n        next: function next() {\n          var nextIndex = ES.AdvanceStringIndex($String(iterable), i, true);\n          var value = $stringSlice(iterable, i, nextIndex);\n          i = nextIndex;\n          return {\n            done: nextIndex > iterable.length,\n            value: value\n          };\n        }\n      };\n    };\n  }\n  return usingIterator;\n};\n\nvar Call;\nvar hasRequiredCall;\nfunction requireCall() {\n  if (hasRequiredCall) return Call;\n  hasRequiredCall = 1;\n  var GetIntrinsic = getIntrinsic;\n  var callBound = callBound$3;\n  var $TypeError = GetIntrinsic('%TypeError%');\n  var IsArray = IsArray$1;\n  var $apply = GetIntrinsic('%Reflect.apply%', true) || callBound('Function.prototype.apply');\n\n  // https://262.ecma-international.org/6.0/#sec-call\n\n  Call = function Call(F, V) {\n    var argumentsList = arguments.length > 2 ? arguments[2] : [];\n    if (!IsArray(argumentsList)) {\n      throw new $TypeError('Assertion failed: optional `argumentsList`, if provided, must be a List');\n    }\n    return $apply(F, V, argumentsList);\n  };\n  return Call;\n}\n\nvar GetIterator$1;\nvar hasRequiredGetIterator;\nfunction requireGetIterator() {\n  if (hasRequiredGetIterator) return GetIterator$1;\n  hasRequiredGetIterator = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $TypeError = GetIntrinsic('%TypeError%');\n  var $SyntaxError = GetIntrinsic('%SyntaxError%');\n  var $asyncIterator = GetIntrinsic('%Symbol.asyncIterator%', true);\n  var inspect = requireObjectInspect();\n  var hasSymbols = hasSymbols$4();\n  var getIteratorMethod = getIteratorMethod$1;\n  var AdvanceStringIndex = AdvanceStringIndex$1;\n  var Call = requireCall();\n  var GetMethod = GetMethod$1;\n  var IsArray = IsArray$1;\n  var Type = Type$8;\n\n  // https://262.ecma-international.org/11.0/#sec-getiterator\n\n  GetIterator$1 = function GetIterator(obj, hint, method) {\n    var actualHint = hint;\n    if (arguments.length < 2) {\n      actualHint = 'sync';\n    }\n    if (actualHint !== 'sync' && actualHint !== 'async') {\n      throw new $TypeError(\"Assertion failed: `hint` must be one of 'sync' or 'async', got \" + inspect(hint));\n    }\n    var actualMethod = method;\n    if (arguments.length < 3) {\n      if (actualHint === 'async') {\n        if (hasSymbols && $asyncIterator) {\n          actualMethod = GetMethod(obj, $asyncIterator);\n        }\n        if (actualMethod === undefined) {\n          throw new $SyntaxError(\"async from sync iterators aren't currently supported\");\n        }\n      } else {\n        actualMethod = getIteratorMethod({\n          AdvanceStringIndex: AdvanceStringIndex,\n          GetMethod: GetMethod,\n          IsArray: IsArray\n        }, obj);\n      }\n    }\n    var iterator = Call(actualMethod, obj);\n    if (Type(iterator) !== 'Object') {\n      throw new $TypeError('iterator must return an object');\n    }\n    return iterator;\n\n    // TODO: This should return an IteratorRecord\n    /*\n    var nextMethod = GetV(iterator, 'next');\n    return {\n    \t'[[Iterator]]': iterator,\n    \t'[[NextMethod]]': nextMethod,\n    \t'[[Done]]': false\n    };\n    */\n  };\n\n  return GetIterator$1;\n}\n\nvar Get;\nvar hasRequiredGet;\nfunction requireGet() {\n  if (hasRequiredGet) return Get;\n  hasRequiredGet = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $TypeError = GetIntrinsic('%TypeError%');\n  var inspect = requireObjectInspect();\n  var IsPropertyKey = requireIsPropertyKey();\n  var Type = Type$8;\n\n  // https://262.ecma-international.org/6.0/#sec-get-o-p\n\n  Get = function Get(O, P) {\n    // 7.3.1.1\n    if (Type(O) !== 'Object') {\n      throw new $TypeError('Assertion failed: Type(O) is not Object');\n    }\n    // 7.3.1.2\n    if (!IsPropertyKey(P)) {\n      throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true, got ' + inspect(P));\n    }\n    // 7.3.1.3\n    return O[P];\n  };\n  return Get;\n}\n\nvar IteratorComplete;\nvar hasRequiredIteratorComplete;\nfunction requireIteratorComplete() {\n  if (hasRequiredIteratorComplete) return IteratorComplete;\n  hasRequiredIteratorComplete = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $TypeError = GetIntrinsic('%TypeError%');\n  var Get = requireGet();\n  var ToBoolean = requireToBoolean();\n  var Type = Type$8;\n\n  // https://262.ecma-international.org/6.0/#sec-iteratorcomplete\n\n  IteratorComplete = function IteratorComplete(iterResult) {\n    if (Type(iterResult) !== 'Object') {\n      throw new $TypeError('Assertion failed: Type(iterResult) is not Object');\n    }\n    return ToBoolean(Get(iterResult, 'done'));\n  };\n  return IteratorComplete;\n}\n\nvar Invoke;\nvar hasRequiredInvoke;\nfunction requireInvoke() {\n  if (hasRequiredInvoke) return Invoke;\n  hasRequiredInvoke = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $TypeError = GetIntrinsic('%TypeError%');\n  var Call = requireCall();\n  var IsArray = IsArray$1;\n  var GetV = requireGetV();\n  var IsPropertyKey = requireIsPropertyKey();\n\n  // https://262.ecma-international.org/6.0/#sec-invoke\n\n  Invoke = function Invoke(O, P) {\n    if (!IsPropertyKey(P)) {\n      throw new $TypeError('Assertion failed: P must be a Property Key');\n    }\n    var argumentsList = arguments.length > 2 ? arguments[2] : [];\n    if (!IsArray(argumentsList)) {\n      throw new $TypeError('Assertion failed: optional `argumentsList`, if provided, must be a List');\n    }\n    var func = GetV(O, P);\n    return Call(func, O, argumentsList);\n  };\n  return Invoke;\n}\n\nvar IteratorNext;\nvar hasRequiredIteratorNext;\nfunction requireIteratorNext() {\n  if (hasRequiredIteratorNext) return IteratorNext;\n  hasRequiredIteratorNext = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $TypeError = GetIntrinsic('%TypeError%');\n  var Invoke = requireInvoke();\n  var Type = Type$8;\n\n  // https://262.ecma-international.org/6.0/#sec-iteratornext\n\n  IteratorNext = function IteratorNext(iterator, value) {\n    var result = Invoke(iterator, 'next', arguments.length < 2 ? [] : [value]);\n    if (Type(result) !== 'Object') {\n      throw new $TypeError('iterator next must return an object');\n    }\n    return result;\n  };\n  return IteratorNext;\n}\n\nvar IteratorStep$1;\nvar hasRequiredIteratorStep;\nfunction requireIteratorStep() {\n  if (hasRequiredIteratorStep) return IteratorStep$1;\n  hasRequiredIteratorStep = 1;\n  var IteratorComplete = requireIteratorComplete();\n  var IteratorNext = requireIteratorNext();\n\n  // https://262.ecma-international.org/6.0/#sec-iteratorstep\n\n  IteratorStep$1 = function IteratorStep(iterator) {\n    var result = IteratorNext(iterator);\n    var done = IteratorComplete(result);\n    return done === true ? false : result;\n  };\n  return IteratorStep$1;\n}\n\nvar IteratorValue$1;\nvar hasRequiredIteratorValue;\nfunction requireIteratorValue() {\n  if (hasRequiredIteratorValue) return IteratorValue$1;\n  hasRequiredIteratorValue = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $TypeError = GetIntrinsic('%TypeError%');\n  var Get = requireGet();\n  var Type = Type$8;\n\n  // https://262.ecma-international.org/6.0/#sec-iteratorvalue\n\n  IteratorValue$1 = function IteratorValue(iterResult) {\n    if (Type(iterResult) !== 'Object') {\n      throw new $TypeError('Assertion failed: Type(iterResult) is not Object');\n    }\n    return Get(iterResult, 'value');\n  };\n  return IteratorValue$1;\n}\n\nvar callBound = callBound$3;\nvar $arrayPush = callBound('Array.prototype.push');\nvar GetIterator = requireGetIterator();\nvar IteratorStep = requireIteratorStep();\nvar IteratorValue = requireIteratorValue();\n\n// https://262.ecma-international.org/12.0/#sec-iterabletolist\n\nvar IterableToList$1 = function IterableToList(items) {\n  var iterator;\n  if (arguments.length > 1) {\n    iterator = GetIterator(items, 'sync', arguments[1]);\n  } else {\n    iterator = GetIterator(items, 'sync');\n  }\n  var values = [];\n  var next = true;\n  while (next) {\n    next = IteratorStep(iterator);\n    if (next) {\n      var nextValue = IteratorValue(next);\n      $arrayPush(values, nextValue);\n    }\n  }\n  return values;\n};\n\nvar setProto;\nvar hasRequiredSetProto;\nfunction requireSetProto() {\n  if (hasRequiredSetProto) return setProto;\n  hasRequiredSetProto = 1;\n  var GetIntrinsic = getIntrinsic;\n  var originalSetProto = GetIntrinsic('%Object.setPrototypeOf%', true);\n  var hasProto = hasProto$1();\n  setProto = originalSetProto || (hasProto ? function (O, proto) {\n    O.__proto__ = proto; // eslint-disable-line no-proto, no-param-reassign\n    return O;\n  } : null);\n  return setProto;\n}\n\nvar getProto;\nvar hasRequiredGetProto;\nfunction requireGetProto() {\n  if (hasRequiredGetProto) return getProto;\n  hasRequiredGetProto = 1;\n  var GetIntrinsic = getIntrinsic;\n  var originalGetProto = GetIntrinsic('%Object.getPrototypeOf%', true);\n  var hasProto = hasProto$1();\n  getProto = originalGetProto || (hasProto ? function (O) {\n    return O.__proto__; // eslint-disable-line no-proto\n  } : null);\n  return getProto;\n}\n\nvar OrdinaryGetPrototypeOf$1;\nvar hasRequiredOrdinaryGetPrototypeOf;\nfunction requireOrdinaryGetPrototypeOf() {\n  if (hasRequiredOrdinaryGetPrototypeOf) return OrdinaryGetPrototypeOf$1;\n  hasRequiredOrdinaryGetPrototypeOf = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $TypeError = GetIntrinsic('%TypeError%');\n  var $getProto = requireGetProto();\n  var Type = Type$8;\n\n  // https://262.ecma-international.org/7.0/#sec-ordinarygetprototypeof\n\n  OrdinaryGetPrototypeOf$1 = function OrdinaryGetPrototypeOf(O) {\n    if (Type(O) !== 'Object') {\n      throw new $TypeError('Assertion failed: O must be an Object');\n    }\n    if (!$getProto) {\n      throw new $TypeError('This environment does not support fetching prototypes.');\n    }\n    return $getProto(O);\n  };\n  return OrdinaryGetPrototypeOf$1;\n}\n\nvar GetIntrinsic$1 = getIntrinsic;\nvar $TypeError = GetIntrinsic$1('%TypeError%');\nvar $setProto = requireSetProto();\nvar OrdinaryGetPrototypeOf = requireOrdinaryGetPrototypeOf();\nvar Type$1 = Type$8;\n\n// https://262.ecma-international.org/7.0/#sec-ordinarysetprototypeof\n\nvar OrdinarySetPrototypeOf$1 = function OrdinarySetPrototypeOf(O, V) {\n  if (Type$1(V) !== 'Object' && Type$1(V) !== 'Null') {\n    throw new $TypeError('Assertion failed: V must be Object or Null');\n  }\n  /*\n  var extensible = IsExtensible(O);\n  var current = OrdinaryGetPrototypeOf(O);\n  if (SameValue(V, current)) {\n  \treturn true;\n  }\n  if (!extensible) {\n  \treturn false;\n  }\n  */\n  try {\n    $setProto(O, V);\n  } catch (e) {\n    return false;\n  }\n  return OrdinaryGetPrototypeOf(O) === V;\n  /*\n  var p = V;\n  var done = false;\n  while (!done) {\n  \tif (p === null) {\n  \t\tdone = true;\n  \t} else if (SameValue(p, O)) {\n  \t\treturn false;\n  \t} else {\n  \t\tif (wat) {\n  \t\t\tdone = true;\n  \t\t} else {\n  \t\t\tp = p.[[Prototype]];\n  \t\t}\n  \t}\n  }\n  O.[[Prototype]] = V;\n  return true;\n  */\n};\n\nvar AdvanceStringIndex = AdvanceStringIndex$1;\nvar CreateDataPropertyOrThrow = CreateDataPropertyOrThrow$1;\nvar CreateMethodProperty = CreateMethodProperty$1;\nvar GetMethod = GetMethod$1;\nvar IsArray = IsArray$1;\nvar IterableToList = IterableToList$1;\nvar OrdinarySetPrototypeOf = OrdinarySetPrototypeOf$1;\nvar Type = Type$8;\nvar GetIntrinsic = getIntrinsic;\nvar getIteratorMethod = getIteratorMethod$1;\nvar hasPropertyDescriptors = hasPropertyDescriptors_1();\nvar $Error = GetIntrinsic('%Error%');\n\n// eslint-disable-next-line func-style\nfunction AggregateError$2(errors, message) {\n  var error = new $Error(message);\n  OrdinarySetPrototypeOf(error, proto); // eslint-disable-line no-use-before-define\n  delete error.constructor;\n  var errorsList = IterableToList(errors, getIteratorMethod({\n    AdvanceStringIndex: AdvanceStringIndex,\n    GetMethod: GetMethod,\n    IsArray: IsArray,\n    Type: Type\n  }, errors));\n  CreateDataPropertyOrThrow(error, 'errors', errorsList);\n  return error;\n}\nif (hasPropertyDescriptors) {\n  Object.defineProperty(AggregateError$2, 'prototype', {\n    writable: false\n  });\n}\nvar proto = AggregateError$2.prototype;\nif (!CreateMethodProperty(proto, 'constructor', AggregateError$2) || !CreateMethodProperty(proto, 'message', '') || !CreateMethodProperty(proto, 'name', 'AggregateError')) {\n  throw new $Error('unable to install AggregateError.prototype properties; please report this!');\n}\nOrdinarySetPrototypeOf(AggregateError$2.prototype, Error.prototype);\nvar implementation$5 = AggregateError$2;\n\nvar implementation$4 = implementation$5;\nvar polyfill$3 = function getPolyfill() {\n  return typeof AggregateError === 'function' ? AggregateError : implementation$4;\n};\n\nvar implementation$3 = commonjsGlobal;\n\nvar implementation$2 = implementation$3;\nvar polyfill$2 = function getPolyfill() {\n  if (_typeof(commonjsGlobal) !== 'object' || !commonjsGlobal || commonjsGlobal.Math !== Math || commonjsGlobal.Array !== Array) {\n    return implementation$2;\n  }\n  return commonjsGlobal;\n};\n\nvar define$2 = defineProperties_1;\nvar getPolyfill$3 = polyfill$2;\nvar shim$3 = function shimGlobal() {\n  var polyfill = getPolyfill$3();\n  if (define$2.supportsDescriptors) {\n    var descriptor = Object.getOwnPropertyDescriptor(polyfill, 'globalThis');\n    if (!descriptor || descriptor.configurable && (descriptor.enumerable || !descriptor.writable || globalThis !== polyfill)) {\n      // eslint-disable-line max-len\n      Object.defineProperty(polyfill, 'globalThis', {\n        configurable: true,\n        enumerable: false,\n        value: polyfill,\n        writable: true\n      });\n    }\n  } else if ((typeof globalThis === \"undefined\" ? \"undefined\" : _typeof(globalThis)) !== 'object' || globalThis !== polyfill) {\n    polyfill.globalThis = polyfill;\n  }\n  return polyfill;\n};\n\nvar defineProperties = defineProperties_1;\nvar implementation$1 = implementation$3;\nvar getPolyfill$2 = polyfill$2;\nvar shim$2 = shim$3;\nvar polyfill$1 = getPolyfill$2();\nvar getGlobal = function getGlobal() {\n  return polyfill$1;\n};\ndefineProperties(getGlobal, {\n  getPolyfill: getPolyfill$2,\n  implementation: implementation$1,\n  shim: shim$2\n});\nvar globalthis = getGlobal;\n\nvar define$1 = defineProperties_1;\nvar globalThis$1 = globalthis();\nvar getPolyfill$1 = polyfill$3;\nvar shim$1 = function shimAggregateError() {\n  var polyfill = getPolyfill$1();\n  define$1(globalThis$1, {\n    AggregateError: polyfill\n  }, {\n    AggregateError: function testAggregateError() {\n      return globalThis$1.AggregateError !== polyfill;\n    }\n  });\n  return polyfill;\n};\n\nvar bind = functionBind;\nvar define = defineProperties_1;\nvar functionsHaveConfigurableNames = functionsHaveNames_1.functionsHaveConfigurableNames();\nvar implementation = implementation$5;\nvar getPolyfill = polyfill$3;\nvar shim = shim$1;\nvar polyfill = getPolyfill();\nvar bound = bind.call(polyfill);\nif (Object.defineProperty) {\n  if (functionsHaveConfigurableNames) {\n    Object.defineProperty(bound, 'name', {\n      value: polyfill.name\n    });\n  }\n  Object.defineProperty(bound, 'prototype', {\n    value: polyfill.prototype\n  });\n}\ndefine(bound, {\n  getPolyfill: getPolyfill,\n  implementation: implementation,\n  shim: shim\n});\nvar esAggregateError = bound;\n\n/*\r\n * Copyright (c) 2021 Huawei Device Co., Ltd.\r\n * Licensed under the Apache License, Version 2.0 (the 'License');\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an 'AS IS' BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\nvar AggregateError$1 = esAggregateError;\nvar AggregateError_1 = AggregateError$1;\n\n/*\r\n * Copyright (c) 2021 Huawei Device Co., Ltd.\r\n * Licensed under the Apache License, Version 2.0 (the 'License');\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an 'AS IS' BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\nvar primordials = {\n  uncurryThis: function () {\n    var _Function$prototype = Function.prototype,\n      bind = _Function$prototype.bind,\n      call = _Function$prototype.call;\n    return bind.bind(call);\n  }(),\n  JSONParse: function JSONParse(self) {\n    return JSON.parse(self);\n  },\n  /**\r\n   * Math start\r\n   */\n  MathAbs: function MathAbs(self) {\n    return Math.abs(self);\n  },\n  //typeof Math.abs\n  MathAcos: function MathAcos(self) {\n    return Math.acos(self);\n  },\n  // typeof Math.acos\n  MathAcosh: function MathAcosh(self) {\n    return Math.acosh(self);\n  },\n  //typeof Math.acosh\n  MathAsin: function MathAsin(self) {\n    return Math.asin(self);\n  },\n  //typeof Math.asin\n  MathAsinh: function MathAsinh(self) {\n    return Math.asinh(self);\n  },\n  //typeof Math.asinh\n  MathAtan: function MathAtan(self) {\n    return Math.atan(self);\n  },\n  //typeof Math.atan\n  MathAtanh: function MathAtanh(self) {\n    return Math.atanh(self);\n  },\n  //typeof Math.atanh\n  MathAtan2: function MathAtan2(self) {\n    return Math.atan2(self);\n  },\n  //typeof Math.atan2\n  MathCeil: function MathCeil(self) {\n    return Math.ceil(self);\n  },\n  //typeof Math.ceil\n  MathCbrt: function MathCbrt(self) {\n    return Math.cbrt(self);\n  },\n  //typeof Math.cbrt\n  MathExpm1: function MathExpm1(self) {\n    return Math.expm1(self);\n  },\n  //typeof Math.expm1\n  MathClz32: function MathClz32(self) {\n    return Math.clz32(self);\n  },\n  //typeof Math.clz32\n  MathCos: function MathCos(self) {\n    return Math.cos(self);\n  },\n  //typeof Math.cos\n  MathCosh: function MathCosh(self) {\n    return Math.cosh(self);\n  },\n  //typeof Math.cosh\n  MathExp: function MathExp(self) {\n    return Math.exp(self);\n  },\n  //typeof Math.exp\n  MathFround: function MathFround(self) {\n    return Math.fround(self);\n  },\n  //typeof Math.fround\n  MathHypot: function MathHypot(self) {\n    return Math.hypot(self);\n  },\n  //typeof Math.hypot\n  MathImul: function MathImul(self) {\n    return Math.imul(self);\n  },\n  //typeof Math.imul\n  MathLog: function MathLog(self) {\n    return Math.log(self);\n  },\n  //typeof Math.log\n  MathLog1p: function MathLog1p(self) {\n    return Math.log(self);\n  },\n  //typeof Math.log1p\n  MathLog2: function MathLog2(self) {\n    return Math.log2(self);\n  },\n  //typeof Math.log2\n  MathLog10: function MathLog10(self) {\n    return Math.log10(self);\n  },\n  //typeof Math.log10\n  MathMax: function MathMax() {\n    return Math.max.apply(Math, arguments);\n  },\n  //typeof Math.max\n  MathMaxApply: function MathMaxApply(self) {\n    return Math.max.apply(null, self);\n  },\n  //StaticApply<typeof Math.max>\n  MathMin: function MathMin(self) {\n    return Math.min(self);\n  },\n  //typeof Math.min\n  MathPow: function MathPow(self) {\n    return Math.pow(self);\n  },\n  //typeof Math.pow\n  MathRandom: function MathRandom() {\n    return Math.random();\n  },\n  //typeof Math.random\n  MathRound: function MathRound(self) {\n    return Math.round(self);\n  },\n  //typeof Math.round\n  MathSign: function MathSign(self) {\n    return Math.sign(self);\n  },\n  //typeof Math.sign\n  MathSin: function MathSin(self) {\n    return Math.sin(self);\n  },\n  //typeof Math.sin\n  MathSinh: function MathSinh(self) {\n    return Math.sinh(self);\n  },\n  //typeof Math.sinh\n  MathSqrt: function MathSqrt(self) {\n    return Math.sqrt(self);\n  },\n  //typeof Math.sqrt\n  MathTan: function MathTan(self) {\n    return Math.tan(self);\n  },\n  //typeof Math.tan\n  MathTanh: function MathTanh(self) {\n    return Math.tanh(self);\n  },\n  //typeof Math.tanh\n  MathTrunc: function MathTrunc(self) {\n    return Math.trunc(self);\n  },\n  //typeof Math.trunc\n  MathE: function MathE() {\n    return Math.E;\n  },\n  //typeof Math.E\n  MathLN10: function MathLN10() {\n    return Math.LN10;\n  },\n  //typeof Math.LN10\n  MathLN2: function MathLN2() {\n    return Math.LN2;\n  },\n  //typeof Math.LN2\n  MathLOG10E: function MathLOG10E() {\n    return Math.LOG10E;\n  },\n  //typeof Math.LOG10E\n  MathLOG2E: function MathLOG2E() {\n    return Math.LOG2E;\n  },\n  //typeof Math.LOG2E\n  MathPI: function MathPI() {\n    return Math.PI;\n  },\n  //typeof Math.PI\n  MathSQRT1_2: function MathSQRT1_2() {\n    return Math.SQRT1_2;\n  },\n  //typeof Math.SQRT1_2\n  MathSQRT2: function MathSQRT2() {\n    return Math.SQRT2;\n  },\n  //typeof Math.SQRT2\n\n  /**\r\n   * Math end\r\n   */\n\n  /**\r\n   * Reflect start\r\n   */\n  ReflectDefineProperty: Reflect.defineProperty,\n  //typeof Reflect.defineProperty\n  ReflectDeleteProperty: Reflect.deleteProperty,\n  // typeof Reflect.deleteProperty\n  ReflectApply: Reflect.apply,\n  ReflectConstruct: Reflect.construct,\n  // typeof Reflect.construct\n  ReflectGet: Reflect.get,\n  // typeof Reflect.get\n  ReflectGetOwnPropertyDescriptor: Reflect.getOwnPropertyDescriptor,\n  // typeof Reflect.getOwnPropertyDescriptor\n  ReflectGetPrototypeOf: Reflect.getPrototypeOf,\n  // typeof Reflect.getPrototypeOf\n  ReflectHas: Reflect.has,\n  // typeof Reflect.has\n  ReflectIsExtensible: Reflect.isExtensible,\n  // typeof Reflect.isExtensible\n  ReflectOwnKeys: Reflect.ownKeys,\n  // typeof Reflect.ownKeys\n  ReflectPreventExtensions: Reflect.preventExtensions,\n  // typeof Reflect.preventExtensions\n  ReflectSet: Reflect.set,\n  //typeof Reflect.set\n  ReflectSetPrototypeOf: Reflect.setPrototypeOf,\n  // typeof Reflect.setPrototypeOf\n  /**\r\n   * Reflect end\r\n   */\n\n  AggregateError: AggregateError_1,\n  /**\r\n   * Array start\r\n   */\n  ArrayFrom: function ArrayFrom(self, fn) {\n    return Array.from(self, fn);\n  },\n  ArrayIsArray: function ArrayIsArray(self) {\n    return Array.isArray(self);\n  },\n  ArrayPrototypeIncludes: function ArrayPrototypeIncludes(self, el) {\n    return self.includes(el);\n  },\n  ArrayPrototypeFilter: function ArrayPrototypeFilter(self, fn) {\n    return self.filter(fn);\n  },\n  ArrayPrototypeIndexOf: function ArrayPrototypeIndexOf(self, el) {\n    return self.indexOf(el);\n  },\n  ArrayPrototypeJoin: function ArrayPrototypeJoin(self, sep) {\n    return self.join(sep);\n  },\n  ArrayPrototypeMap: function ArrayPrototypeMap(self, fn) {\n    return self.map(fn);\n  },\n  ArrayPrototypePop: function ArrayPrototypePop(self, el) {\n    return self.pop(el);\n  },\n  ArrayPrototypePush: function ArrayPrototypePush(self, el) {\n    return self.push(el);\n  },\n  ArrayPrototypeSlice: function ArrayPrototypeSlice(self, start, end) {\n    return self.slice(start, end);\n  },\n  ArrayPrototypeSplice: function ArrayPrototypeSplice(self, start, end) {\n    for (var _len = arguments.length, args = new Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {\n      args[_key - 3] = arguments[_key];\n    }\n    return self.splice.apply(self, [start, end].concat(args));\n  },\n  ArrayPrototypeUnshift: function ArrayPrototypeUnshift(self, value) {\n    return self.unshift(value);\n  },\n  /**\r\n   * Array end\r\n   */\n\n  /**\r\n   * Map start\r\n   */\n\n  MapPrototypeGet: Map.prototype.get,\n  /**\r\n   * Map end\r\n   */\n  /**\r\n   * Error start\r\n   */\n  Error: Error,\n  ErrorCaptureStackTrace: Error.captureStackTrace,\n  ErrorPrototypeToString: Error.prototype.toString,\n  RangeError: RangeError,\n  /**\r\n   * Error end\r\n   */\n\n  /**\r\n   * JSON start\r\n   */\n  JSONStringify: JSON.stringify,\n  /**\r\n   * JSON end\r\n   */\n  FunctionPrototypeCall: function FunctionPrototypeCall(fn, thisArgs) {\n    for (var _len2 = arguments.length, args = new Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {\n      args[_key2 - 2] = arguments[_key2];\n    }\n    return fn.call.apply(fn, [thisArgs].concat(args));\n  },\n  FunctionPrototypeBind: function FunctionPrototypeBind(fn, thisArgs) {\n    for (var _len3 = arguments.length, args = new Array(_len3 > 2 ? _len3 - 2 : 0), _key3 = 2; _key3 < _len3; _key3++) {\n      args[_key3 - 2] = arguments[_key3];\n    }\n    return fn.bind.apply(fn, [thisArgs].concat(args));\n  },\n  FunctionPrototypeSymbolHasInstance: function FunctionPrototypeSymbolHasInstance(self, instance) {\n    return Function.prototype[Symbol.hasInstance].call(self, instance);\n  },\n  MathFloor: Math.floor,\n  Number: Number,\n  NumberIsInteger: Number.isInteger,\n  NumberIsNaN: Number.isNaN,\n  NumberMAX_SAFE_INTEGER: Number.MAX_SAFE_INTEGER,\n  NumberMIN_SAFE_INTEGER: Number.MIN_SAFE_INTEGER,\n  NumberParseInt: Number.parseInt,\n  NumberIsFinite: Number.isFinite,\n  NumberPrototypeToString: function NumberPrototypeToString(value, radix) {\n    return value.toString(radix);\n  },\n  /**\r\n   * Object start\r\n   */\n  ObjectPrototypeHasOwnProperty: function ObjectPrototypeHasOwnProperty(self, name) {\n    return Object.prototype.hasOwnProperty.call(self, name);\n  },\n  ObjectAssign: Object.assign,\n  ObjectDefineProperties: function ObjectDefineProperties(self, props) {\n    return Object.defineProperties(self, props);\n  },\n  ObjectDefineProperty: function ObjectDefineProperty(self, name, prop) {\n    return Object.defineProperty(self, name, prop);\n  },\n  ObjectGetOwnPropertyDescriptor: function ObjectGetOwnPropertyDescriptor(self, name) {\n    return Object.getOwnPropertyDescriptor(self, name);\n  },\n  ObjectKeys: function ObjectKeys(obj) {\n    return Object.keys(obj);\n  },\n  ObjectCreate: function ObjectCreate(obj) {\n    return Object.create(obj);\n  },\n  ObjectFreeze: function ObjectFreeze(obj) {\n    return Object.freeze(obj);\n  },\n  ObjectEntries: function ObjectEntries(obj) {\n    return Object.entries(obj);\n  },\n  ObjectSetPrototypeOf: function ObjectSetPrototypeOf(target, proto) {\n    return Object.setPrototypeOf(target, proto);\n  },\n  ObjectPrototypeToString: function ObjectPrototypeToString(obj) {\n    return obj.toString();\n  },\n  ObjectPrototypePropertyIsEnumerable: function ObjectPrototypePropertyIsEnumerable(self, val) {\n    return self.propertyIsEnumerable(val);\n  },\n  ObjectIsExtensible: Object.isExtensible,\n  /**\r\n   * Object end\r\n   */\n  Promise: Promise,\n  PromisePrototypeCatch: function PromisePrototypeCatch(self, fn) {\n    return self[\"catch\"](fn);\n  },\n  PromisePrototypeThen: function PromisePrototypeThen(self, thenFn, catchFn) {\n    return self.then(thenFn, catchFn);\n  },\n  PromiseReject: function PromiseReject(err) {\n    return Promise.reject(err);\n  },\n  RegExpPrototypeTest: function RegExpPrototypeTest(self, value) {\n    return self.test(value);\n  },\n  SafeSet: Set,\n  String: String,\n  StringPrototypeSlice: function StringPrototypeSlice(self, start, end) {\n    return self.slice(start, end);\n  },\n  StringPrototypeToLowerCase: function StringPrototypeToLowerCase(self) {\n    return self.toLowerCase();\n  },\n  StringPrototypeToUpperCase: function StringPrototypeToUpperCase(self) {\n    return self.toUpperCase();\n  },\n  StringPrototypeTrim: function StringPrototypeTrim(self) {\n    return self.trim();\n  },\n  StringPrototypeCharCodeAt: function StringPrototypeCharCodeAt(value, index) {\n    return value.charCodeAt(index);\n  },\n  StringPrototypeLastIndexOf: function StringPrototypeLastIndexOf(value, separator) {\n    return value.lastIndexOf(separator);\n  },\n  StringPrototypeCharAt: function StringPrototypeCharAt(value, index) {\n    return value.charAt(index);\n  },\n  StringPrototypeIndexOf: function StringPrototypeIndexOf(value, index) {\n    return value.indexOf(index);\n  },\n  StringPrototypeStartsWith: function StringPrototypeStartsWith(value, index) {\n    return value.startsWith(index);\n  },\n  StringPrototypeIncludes: function StringPrototypeIncludes(self, value, start) {\n    return self.includes(value, start);\n  },\n  StringPrototypePadStart: function StringPrototypePadStart(self, targetLength, padString) {\n    return self.padStart(targetLength, padString);\n  },\n  StringPrototypeReplace: function StringPrototypeReplace(self, searchValue, replaceValue) {\n    return self.replace(searchValue, replaceValue);\n  },\n  DatePrototypeGetDate: function DatePrototypeGetDate(date) {\n    return date.getDate();\n  },\n  DatePrototypeGetHours: function DatePrototypeGetHours(date) {\n    return date.getHours();\n  },\n  DatePrototypeGetMinutes: function DatePrototypeGetMinutes(date) {\n    return date.getMinutes();\n  },\n  DatePrototypeGetMonth: function DatePrototypeGetMonth(date) {\n    return date.getMonth();\n  },\n  DatePrototypeGetSeconds: function DatePrototypeGetSeconds(date) {\n    return date.getSeconds();\n  },\n  Symbol: Symbol,\n  SymbolAsyncIterator: Symbol.asyncIterator,\n  SymbolHasInstance: Symbol.hasInstance,\n  SymbolIterator: Symbol.iterator,\n  TypedArrayPrototypeSet: function TypedArrayPrototypeSet(self, buf, len) {\n    return self.set(buf, len);\n  },\n  decodeURIComponent: decodeURIComponent,\n  Uint8Array: Uint8Array,\n  Int8Array: Int8Array,\n  Array: Array,\n  Date: Date\n};\n\nvar Array$2 = primordials.Array,\n  Int8Array$2 = primordials.Int8Array,\n  NumberPrototypeToString = primordials.NumberPrototypeToString,\n  StringPrototypeCharCodeAt$1 = primordials.StringPrototypeCharCodeAt,\n  StringPrototypeSlice$1 = primordials.StringPrototypeSlice,\n  StringPrototypeToUpperCase = primordials.StringPrototypeToUpperCase;\n\n//const { ERR_INVALID_URI } = require('internal/errors').codes;\n\nvar hexTable$1 = new Array$2(256);\nfor (var i = 0; i < 256; ++i) hexTable$1[i] = \"%\" + StringPrototypeToUpperCase((i < 16 ? \"0\" : \"\") + NumberPrototypeToString(i, 16));\nvar isHexTable$1 = new Int8Array$2([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n// 0 - 15\n0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n// 16 - 31\n0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n// 32 - 47\n1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0,\n// 48 - 63\n0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n// 64 - 79\n0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n// 80 - 95\n0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n// 96 - 111\n0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n// 112 - 127\n0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n// 128 ...\n0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 // ... 256\n]);\n\n/**\r\n * @param {string} str\r\n * @param {Int8Array} noEscapeTable\r\n * @param {string[]} hexTable\r\n * @returns {string}\r\n */\nfunction encodeStr$1(str, noEscapeTable, hexTable) {\n  var len = str.length;\n  if (len === 0) return \"\";\n  var out = \"\";\n  var lastPos = 0;\n  var i = 0;\n  outer: for (; i < len; i++) {\n    var c = StringPrototypeCharCodeAt$1(str, i);\n\n    // ASCII\n    while (c < 0x80) {\n      if (noEscapeTable[c] !== 1) {\n        if (lastPos < i) out += StringPrototypeSlice$1(str, lastPos, i);\n        lastPos = i + 1;\n        out += hexTable[c];\n      }\n      if (++i === len) break outer;\n      c = StringPrototypeCharCodeAt$1(str, i);\n    }\n    if (lastPos < i) out += StringPrototypeSlice$1(str, lastPos, i);\n\n    // Multi-byte characters ...\n    if (c < 0x800) {\n      lastPos = i + 1;\n      out += hexTable[0xc0 | c >> 6] + hexTable[0x80 | c & 0x3f];\n      continue;\n    }\n    if (c < 0xd800 || c >= 0xe000) {\n      lastPos = i + 1;\n      out += hexTable[0xe0 | c >> 12] + hexTable[0x80 | c >> 6 & 0x3f] + hexTable[0x80 | c & 0x3f];\n      continue;\n    }\n    // Surrogate pair\n    ++i;\n\n    // This branch should never happen because all URLSearchParams entries\n    // should already be converted to USVString. But, included for\n    // completion's sake anyway.\n    if (i >= len)\n      //throw new ERR_INVALID_URI();\n      throw new Error(\"ERR_INVALID_URI\");\n    var c2 = StringPrototypeCharCodeAt$1(str, i) & 0x3ff;\n    lastPos = i + 1;\n    c = 0x10000 + ((c & 0x3ff) << 10 | c2);\n    out += hexTable[0xf0 | c >> 18] + hexTable[0x80 | c >> 12 & 0x3f] + hexTable[0x80 | c >> 6 & 0x3f] + hexTable[0x80 | c & 0x3f];\n  }\n  if (lastPos === 0) return str;\n  if (lastPos < len) return out + StringPrototypeSlice$1(str, lastPos);\n  return out;\n}\nvar querystring = {\n  encodeStr: encodeStr$1,\n  hexTable: hexTable$1,\n  isHexTable: isHexTable$1\n};\n\n// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n// Query String Utilities\n\nvar Array$1 = primordials.Array,\n  ArrayIsArray = primordials.ArrayIsArray,\n  Int8Array$1 = primordials.Int8Array,\n  MathAbs = primordials.MathAbs,\n  NumberIsFinite = primordials.NumberIsFinite,\n  ObjectCreate = primordials.ObjectCreate,\n  ObjectKeys = primordials.ObjectKeys,\n  String$1 = primordials.String,\n  StringPrototypeCharCodeAt = primordials.StringPrototypeCharCodeAt,\n  StringPrototypeSlice = primordials.StringPrototypeSlice,\n  decodeURIComponent$1 = primordials.decodeURIComponent;\nvar Buffer = require$$1.Buffer;\nvar encodeStr = querystring.encodeStr,\n  hexTable = querystring.hexTable,\n  isHexTable = querystring.isHexTable;\nvar QueryString = querystring$1.exports = {\n  unescapeBuffer: unescapeBuffer,\n  // `unescape()` is a JS global, so we need to use a different local name\n  unescape: qsUnescape,\n  // `escape()` is a JS global, so we need to use a different local name\n  escape: qsEscape,\n  stringify: stringify,\n  encode: stringify,\n  parse: parse,\n  decode: parse\n};\nvar unhexTable = new Int8Array$1([-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,\n// 0 - 15\n-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,\n// 16 - 31\n-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,\n// 32 - 47\n+0, +1, +2, +3, +4, +5, +6, +7, +8, +9, -1, -1, -1, -1, -1, -1,\n// 48 - 63\n-1, 10, 11, 12, 13, 14, 15, -1, -1, -1, -1, -1, -1, -1, -1, -1,\n// 64 - 79\n-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,\n// 80 - 95\n-1, 10, 11, 12, 13, 14, 15, -1, -1, -1, -1, -1, -1, -1, -1, -1,\n// 96 - 111\n-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,\n// 112 - 127\n-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,\n// 128 ...\n-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 // ... 255\n]);\n/**\r\n * A safe fast alternative to decodeURIComponent\r\n * @param {string} s\r\n * @param {boolean} decodeSpaces\r\n * @returns {string}\r\n */\nfunction unescapeBuffer(s, decodeSpaces) {\n  var out = Buffer.allocUnsafe(s.length);\n  var index = 0;\n  var outIndex = 0;\n  var currentChar;\n  var nextChar;\n  var hexHigh;\n  var hexLow;\n  var maxLength = s.length - 2;\n  // Flag to know if some hex chars have been decoded\n  var hasHex = false;\n  while (index < s.length) {\n    currentChar = StringPrototypeCharCodeAt(s, index);\n    if (currentChar === 43 /* '+' */ && decodeSpaces) {\n      out[outIndex++] = 32; // ' '\n      index++;\n      continue;\n    }\n    if (currentChar === 37 /* '%' */ && index < maxLength) {\n      currentChar = StringPrototypeCharCodeAt(s, ++index);\n      hexHigh = unhexTable[currentChar];\n      if (!(hexHigh >= 0)) {\n        out[outIndex++] = 37; // '%'\n        continue;\n      } else {\n        nextChar = StringPrototypeCharCodeAt(s, ++index);\n        hexLow = unhexTable[nextChar];\n        if (!(hexLow >= 0)) {\n          out[outIndex++] = 37; // '%'\n          index--;\n        } else {\n          hasHex = true;\n          currentChar = hexHigh * 16 + hexLow;\n        }\n      }\n    }\n    out[outIndex++] = currentChar;\n    index++;\n  }\n  return hasHex ? out.slice(0, outIndex) : out;\n}\n\n/**\r\n * @param {string} s\r\n * @param {boolean} decodeSpaces\r\n * @returns {string}\r\n */\nfunction qsUnescape(s, decodeSpaces) {\n  try {\n    return decodeURIComponent$1(s);\n  } catch (err) {\n    return QueryString.unescapeBuffer(s, decodeSpaces).toString();\n  }\n}\n\n// These characters do not need escaping when generating query strings:\n// ! - . _ ~\n// ' ( ) *\n// digits\n// alpha (uppercase)\n// alpha (lowercase)\nvar noEscape = new Int8Array$1([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n// 0 - 15\n0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n// 16 - 31\n0, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0,\n// 32 - 47\n1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0,\n// 48 - 63\n0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,\n// 64 - 79\n1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1,\n// 80 - 95\n0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,\n// 96 - 111\n1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0 // 112 - 127\n]);\n\n/**\r\n * QueryString.escape() replaces encodeURIComponent()\r\n * @see https://www.ecma-international.org/ecma-262/5.1/#sec-15.1.3.4\r\n * @param {any} str\r\n * @returns {string}\r\n */\nfunction qsEscape(str) {\n  if (typeof str !== \"string\") {\n    if (_typeof(str) === \"object\") str = String$1(str);else str += \"\";\n  }\n  return encodeStr(str, noEscape, hexTable);\n}\n\n/**\r\n * @param {string | number | bigint | boolean | symbol | undefined | null} v\r\n * @returns {string}\r\n */\nfunction stringifyPrimitive(v) {\n  if (typeof v === \"string\") return v;\n  if (typeof v === \"number\" && NumberIsFinite(v)) return \"\" + v;\n  if (typeof v === \"bigint\") return \"\" + v;\n  if (typeof v === \"boolean\") return v ? \"true\" : \"false\";\n  return \"\";\n}\n\n/**\r\n * @param {string | number | bigint | boolean} v\r\n * @param {(v: string) => string} encode\r\n * @returns {string}\r\n */\nfunction encodeStringified(v, encode) {\n  if (typeof v === \"string\") return v.length ? encode(v) : \"\";\n  if (typeof v === \"number\" && NumberIsFinite(v)) {\n    // Values >= 1e21 automatically switch to scientific notation which requires\n    // escaping due to the inclusion of a '+' in the output\n    return MathAbs(v) < 1e21 ? \"\" + v : encode(\"\" + v);\n  }\n  if (typeof v === \"bigint\") return \"\" + v;\n  if (typeof v === \"boolean\") return v ? \"true\" : \"false\";\n  return \"\";\n}\n\n/**\r\n * @param {string | number | boolean | null} v\r\n * @param {(v: string) => string} encode\r\n * @returns {string}\r\n */\nfunction encodeStringifiedCustom(v, encode) {\n  return encode(stringifyPrimitive(v));\n}\n\n/**\r\n * @param {Record<string, string | number | boolean\r\n * | ReadonlyArray<string | number | boolean> | null>} obj\r\n * @param {string} [sep]\r\n * @param {string} [eq]\r\n * @param {{ encodeURIComponent?: (v: string) => string }} [options]\r\n * @returns {string}\r\n */\nfunction stringify(obj, sep, eq, options) {\n  sep = sep || \"&\";\n  eq = eq || \"=\";\n  var encode = QueryString.escape;\n  if (options && typeof options.encodeURIComponent === \"function\") {\n    encode = options.encodeURIComponent;\n  }\n  var convert = encode === qsEscape ? encodeStringified : encodeStringifiedCustom;\n  if (obj !== null && _typeof(obj) === \"object\") {\n    var keys = ObjectKeys(obj);\n    var len = keys.length;\n    var fields = \"\";\n    for (var i = 0; i < len; ++i) {\n      var k = keys[i];\n      var v = obj[k];\n      var ks = convert(k, encode);\n      ks += eq;\n      if (ArrayIsArray(v)) {\n        var vlen = v.length;\n        if (vlen === 0) continue;\n        if (fields) fields += sep;\n        for (var j = 0; j < vlen; ++j) {\n          if (j) fields += sep;\n          fields += ks;\n          fields += convert(v[j], encode);\n        }\n      } else {\n        if (fields) fields += sep;\n        fields += ks;\n        fields += convert(v, encode);\n      }\n    }\n    return fields;\n  }\n  return \"\";\n}\n\n/**\r\n * @param {string} str\r\n * @returns {number[]}\r\n */\nfunction charCodes(str) {\n  if (str.length === 0) return [];\n  if (str.length === 1) return [StringPrototypeCharCodeAt(str, 0)];\n  var ret = new Array$1(str.length);\n  for (var i = 0; i < str.length; ++i) ret[i] = StringPrototypeCharCodeAt(str, i);\n  return ret;\n}\nvar defSepCodes = [38]; // &\nvar defEqCodes = [61]; // =\n\nfunction addKeyVal(obj, key, value, keyEncoded, valEncoded, decode) {\n  if (key.length > 0 && keyEncoded) key = decodeStr(key, decode);\n  if (value.length > 0 && valEncoded) value = decodeStr(value, decode);\n  if (obj[key] === undefined) {\n    obj[key] = value;\n  } else {\n    var curValue = obj[key];\n    // A simple Array-specific property check is enough here to\n    // distinguish from a string value and is faster and still safe\n    // since we are generating all of the values being assigned.\n    if (curValue.pop) curValue[curValue.length] = value;else obj[key] = [curValue, value];\n  }\n}\n\n/**\r\n * Parse a key/val string.\r\n * @param {string} qs\r\n * @param {string} sep\r\n * @param {string} eq\r\n * @param {{\r\n *   maxKeys?: number;\r\n *   decodeURIComponent?(v: string): string;\r\n *   }} [options]\r\n * @returns {Record<string, string | string[]>}\r\n */\nfunction parse(qs, sep, eq, options) {\n  var obj = ObjectCreate(null);\n  if (typeof qs !== \"string\" || qs.length === 0) {\n    return obj;\n  }\n  var sepCodes = !sep ? defSepCodes : charCodes(String$1(sep));\n  var eqCodes = !eq ? defEqCodes : charCodes(String$1(eq));\n  var sepLen = sepCodes.length;\n  var eqLen = eqCodes.length;\n  var pairs = 1000;\n  if (options && typeof options.maxKeys === \"number\") {\n    // -1 is used in place of a value like Infinity for meaning\n    // \"unlimited pairs\" because of additional checks V8 (at least as of v5.4)\n    // has to do when using variables that contain values like Infinity. Since\n    // `pairs` is always decremented and checked explicitly for 0, -1 works\n    // effectively the same as Infinity, while providing a significant\n    // performance boost.\n    pairs = options.maxKeys > 0 ? options.maxKeys : -1;\n  }\n  var decode = QueryString.unescape;\n  if (options && typeof options.decodeURIComponent === \"function\") {\n    decode = options.decodeURIComponent;\n  }\n  var customDecode = decode !== qsUnescape;\n  var lastPos = 0;\n  var sepIdx = 0;\n  var eqIdx = 0;\n  var key = \"\";\n  var value = \"\";\n  var keyEncoded = customDecode;\n  var valEncoded = customDecode;\n  var plusChar = customDecode ? \"%20\" : \" \";\n  var encodeCheck = 0;\n  for (var i = 0; i < qs.length; ++i) {\n    var code = StringPrototypeCharCodeAt(qs, i);\n\n    // Try matching key/value pair separator (e.g. '&')\n    if (code === sepCodes[sepIdx]) {\n      if (++sepIdx === sepLen) {\n        // Key/value pair separator match!\n        var end = i - sepIdx + 1;\n        if (eqIdx < eqLen) {\n          // We didn't find the (entire) key/value separator\n          if (lastPos < end) {\n            // Treat the substring as part of the key instead of the value\n            key += StringPrototypeSlice(qs, lastPos, end);\n          } else if (key.length === 0) {\n            // We saw an empty substring between separators\n            if (--pairs === 0) return obj;\n            lastPos = i + 1;\n            sepIdx = eqIdx = 0;\n            continue;\n          }\n        } else if (lastPos < end) {\n          value += StringPrototypeSlice(qs, lastPos, end);\n        }\n        addKeyVal(obj, key, value, keyEncoded, valEncoded, decode);\n        if (--pairs === 0) return obj;\n        keyEncoded = valEncoded = customDecode;\n        key = value = \"\";\n        encodeCheck = 0;\n        lastPos = i + 1;\n        sepIdx = eqIdx = 0;\n      }\n    } else {\n      sepIdx = 0;\n      // Try matching key/value separator (e.g. '=') if we haven't already\n      if (eqIdx < eqLen) {\n        if (code === eqCodes[eqIdx]) {\n          if (++eqIdx === eqLen) {\n            // Key/value separator match!\n            var _end = i - eqIdx + 1;\n            if (lastPos < _end) key += StringPrototypeSlice(qs, lastPos, _end);\n            encodeCheck = 0;\n            lastPos = i + 1;\n          }\n          continue;\n        } else {\n          eqIdx = 0;\n          if (!keyEncoded) {\n            // Try to match an (valid) encoded byte once to minimize unnecessary\n            // calls to string decoding functions\n            if (code === 37 /* % */) {\n              encodeCheck = 1;\n              continue;\n            } else if (encodeCheck > 0) {\n              if (isHexTable[code] === 1) {\n                if (++encodeCheck === 3) keyEncoded = true;\n                continue;\n              } else {\n                encodeCheck = 0;\n              }\n            }\n          }\n        }\n        if (code === 43 /* + */) {\n          if (lastPos < i) key += StringPrototypeSlice(qs, lastPos, i);\n          key += plusChar;\n          lastPos = i + 1;\n          continue;\n        }\n      }\n      if (code === 43 /* + */) {\n        if (lastPos < i) value += StringPrototypeSlice(qs, lastPos, i);\n        value += plusChar;\n        lastPos = i + 1;\n      } else if (!valEncoded) {\n        // Try to match an (valid) encoded byte (once) to minimize unnecessary\n        // calls to string decoding functions\n        if (code === 37 /* % */) {\n          encodeCheck = 1;\n        } else if (encodeCheck > 0) {\n          if (isHexTable[code] === 1) {\n            if (++encodeCheck === 3) valEncoded = true;\n          } else {\n            encodeCheck = 0;\n          }\n        }\n      }\n    }\n  }\n\n  // Deal with any leftover key or value data\n  if (lastPos < qs.length) {\n    if (eqIdx < eqLen) key += StringPrototypeSlice(qs, lastPos);else if (sepIdx < sepLen) value += StringPrototypeSlice(qs, lastPos);\n  } else if (eqIdx === 0 && key.length === 0) {\n    // We ended on an empty substring\n    return obj;\n  }\n  addKeyVal(obj, key, value, keyEncoded, valEncoded, decode);\n  return obj;\n}\n\n/**\r\n * V8 does not optimize functions with try-catch blocks, so we isolate them here\r\n * to minimize the damage (Note: no longer true as of V8 5.4 -- but still will\r\n * not be inlined).\r\n * @param {string} s\r\n * @param {(v: string) => string} decoder\r\n * @returns {string}\r\n */\nfunction decodeStr(s, decoder) {\n  try {\n    return decoder(s);\n  } catch (err) {\n    return QueryString.unescape(s, true);\n  }\n}\nvar querystringExports = querystring$1.exports;\nvar index = /*@__PURE__*/getDefaultExportFromCjs(querystringExports);\n\nexport { index as default };\n","process.js":"function getDefaultExportFromCjs (x) {\n\treturn x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;\n}\n\nvar process$1 = {exports: {}};\n\n// shim for using process in browser\nvar process = process$1.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things.  But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals.  It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\nfunction defaultSetTimout() {\n  throw new Error(\"setTimeout has not been defined\");\n}\nfunction defaultClearTimeout() {\n  throw new Error(\"clearTimeout has not been defined\");\n}\n(function () {\n  try {\n    if (typeof setTimeout === \"function\") {\n      cachedSetTimeout = setTimeout;\n    } else {\n      cachedSetTimeout = defaultSetTimout;\n    }\n  } catch (e) {\n    cachedSetTimeout = defaultSetTimout;\n  }\n  try {\n    if (typeof clearTimeout === \"function\") {\n      cachedClearTimeout = clearTimeout;\n    } else {\n      cachedClearTimeout = defaultClearTimeout;\n    }\n  } catch (e) {\n    cachedClearTimeout = defaultClearTimeout;\n  }\n})();\nfunction runTimeout(fun) {\n  if (cachedSetTimeout === setTimeout) {\n    //normal enviroments in sane situations\n    return setTimeout(fun, 0);\n  }\n  // if setTimeout wasn't available but was latter defined\n  if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n    cachedSetTimeout = setTimeout;\n    return setTimeout(fun, 0);\n  }\n  try {\n    // when when somebody has screwed with setTimeout but no I.E. maddness\n    return cachedSetTimeout(fun, 0);\n  } catch (e) {\n    try {\n      // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n      return cachedSetTimeout.call(null, fun, 0);\n    } catch (e) {\n      // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n      return cachedSetTimeout.call(this, fun, 0);\n    }\n  }\n}\nfunction runClearTimeout(marker) {\n  if (cachedClearTimeout === clearTimeout) {\n    //normal enviroments in sane situations\n    return clearTimeout(marker);\n  }\n  // if clearTimeout wasn't available but was latter defined\n  if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n    cachedClearTimeout = clearTimeout;\n    return clearTimeout(marker);\n  }\n  try {\n    // when when somebody has screwed with setTimeout but no I.E. maddness\n    return cachedClearTimeout(marker);\n  } catch (e) {\n    try {\n      // When we are in I.E. but the script has been evaled so I.E. doesn't  trust the global object when called normally\n      return cachedClearTimeout.call(null, marker);\n    } catch (e) {\n      // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n      // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n      return cachedClearTimeout.call(this, marker);\n    }\n  }\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\nfunction cleanUpNextTick() {\n  if (!draining || !currentQueue) {\n    return;\n  }\n  draining = false;\n  if (currentQueue.length) {\n    queue = currentQueue.concat(queue);\n  } else {\n    queueIndex = -1;\n  }\n  if (queue.length) {\n    drainQueue();\n  }\n}\nfunction drainQueue() {\n  if (draining) {\n    return;\n  }\n  var timeout = runTimeout(cleanUpNextTick);\n  draining = true;\n  var len = queue.length;\n  while (len) {\n    currentQueue = queue;\n    queue = [];\n    while (++queueIndex < len) {\n      if (currentQueue) {\n        currentQueue[queueIndex].run();\n      }\n    }\n    queueIndex = -1;\n    len = queue.length;\n  }\n  currentQueue = null;\n  draining = false;\n  runClearTimeout(timeout);\n}\nprocess.nextTick = function (fun) {\n  var args = new Array(arguments.length - 1);\n  if (arguments.length > 1) {\n    for (var i = 1; i < arguments.length; i++) {\n      args[i - 1] = arguments[i];\n    }\n  }\n  queue.push(new Item(fun, args));\n  if (queue.length === 1 && !draining) {\n    runTimeout(drainQueue);\n  }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n  this.fun = fun;\n  this.array = array;\n}\nItem.prototype.run = function () {\n  this.fun.apply(null, this.array);\n};\n\n// other interfaces\nprocess.env = {};\nprocess.version = \"v16.19.1\";\nvar processExports = process$1.exports;\nvar index = /*@__PURE__*/getDefaultExportFromCjs(processExports);\n\nexport { index as default };\n","path.js":"import require$$0 from 'util';\n\nvar commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};\n\nfunction getDefaultExportFromCjs (x) {\n\treturn x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;\n}\n\nvar constants$1 = {\n  // Alphabet chars.\n  CHAR_UPPERCASE_A: 65 /* A */,\n  CHAR_LOWERCASE_A: 97 /* a */,\n  CHAR_UPPERCASE_Z: 90 /* Z */,\n  CHAR_LOWERCASE_Z: 122 /* z */,\n  CHAR_UPPERCASE_C: 67 /* C */,\n  CHAR_LOWERCASE_B: 98 /* b */,\n  CHAR_LOWERCASE_E: 101 /* e */,\n  CHAR_LOWERCASE_N: 110 /* n */,\n\n  // Non-alphabetic chars.\n  CHAR_DOT: 46 /* . */,\n  CHAR_FORWARD_SLASH: 47 /* / */,\n  CHAR_BACKWARD_SLASH: 92 /* \\ */,\n  CHAR_VERTICAL_LINE: 124 /* | */,\n  CHAR_COLON: 58 /* : */,\n  CHAR_QUESTION_MARK: 63 /* ? */,\n  CHAR_UNDERSCORE: 95 /* _ */,\n  CHAR_LINE_FEED: 10 /* \\n */,\n  CHAR_CARRIAGE_RETURN: 13 /* \\r */,\n  CHAR_TAB: 9 /* \\t */,\n  CHAR_FORM_FEED: 12 /* \\f */,\n  CHAR_EXCLAMATION_MARK: 33 /* ! */,\n  CHAR_HASH: 35 /* # */,\n  CHAR_SPACE: 32 /*   */,\n  CHAR_NO_BREAK_SPACE: 160 /* \\u00A0 */,\n  CHAR_ZERO_WIDTH_NOBREAK_SPACE: 65279 /* \\uFEFF */,\n  CHAR_LEFT_SQUARE_BRACKET: 91,\n  //* [ */\n  CHAR_RIGHT_SQUARE_BRACKET: 93 /* ] */,\n  CHAR_LEFT_ANGLE_BRACKET: 60 /* < */,\n  CHAR_RIGHT_ANGLE_BRACKET: 62 /* > */,\n  CHAR_LEFT_CURLY_BRACKET: 123 /* { */,\n  CHAR_RIGHT_CURLY_BRACKET: 125 /* } */,\n  CHAR_HYPHEN_MINUS: 45 /* - */,\n  CHAR_PLUS: 43 /* + */,\n  CHAR_DOUBLE_QUOTE: 34 /* \" */,\n  CHAR_SINGLE_QUOTE: 39 /* ' */,\n  CHAR_PERCENT: 37 /* % */,\n  CHAR_SEMICOLON: 59 /* ; */,\n  CHAR_CIRCUMFLEX_ACCENT: 94 /* ^ */,\n  CHAR_GRAVE_ACCENT: 96 /* ` */,\n  CHAR_AT: 64 /* @ */,\n  CHAR_AMPERSAND: 38 /* & */,\n  CHAR_EQUAL: 61 /* = */,\n\n  // Digits\n  CHAR_0: 48 /* 0 */,\n  CHAR_9: 57 /* 9 */,\n\n  EOL: \"\\n\"\n};\n\n/* eslint no-invalid-this: 1 */\n\nvar ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';\nvar slice$1 = Array.prototype.slice;\nvar toStr$4 = Object.prototype.toString;\nvar funcType = '[object Function]';\nvar implementation$8 = function bind(that) {\n  var target = this;\n  if (typeof target !== 'function' || toStr$4.call(target) !== funcType) {\n    throw new TypeError(ERROR_MESSAGE + target);\n  }\n  var args = slice$1.call(arguments, 1);\n  var bound;\n  var binder = function binder() {\n    if (this instanceof bound) {\n      var result = target.apply(this, args.concat(slice$1.call(arguments)));\n      if (Object(result) === result) {\n        return result;\n      }\n      return this;\n    } else {\n      return target.apply(that, args.concat(slice$1.call(arguments)));\n    }\n  };\n  var boundLength = Math.max(0, target.length - args.length);\n  var boundArgs = [];\n  for (var i = 0; i < boundLength; i++) {\n    boundArgs.push('$' + i);\n  }\n  bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);\n  if (target.prototype) {\n    var Empty = function Empty() {};\n    Empty.prototype = target.prototype;\n    bound.prototype = new Empty();\n    Empty.prototype = null;\n  }\n  return bound;\n};\n\nvar implementation$7 = implementation$8;\nvar functionBind = Function.prototype.bind || implementation$7;\n\nfunction _typeof(obj) {\n  \"@babel/helpers - typeof\";\n\n  return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n    return typeof obj;\n  } : function (obj) {\n    return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n  }, _typeof(obj);\n}\n\nvar toStr$3 = Object.prototype.toString;\nvar isArguments = function isArguments(value) {\n  var str = toStr$3.call(value);\n  var isArgs = str === '[object Arguments]';\n  if (!isArgs) {\n    isArgs = str !== '[object Array]' && value !== null && _typeof(value) === 'object' && typeof value.length === 'number' && value.length >= 0 && toStr$3.call(value.callee) === '[object Function]';\n  }\n  return isArgs;\n};\n\nvar implementation$6;\nvar hasRequiredImplementation;\nfunction requireImplementation() {\n  if (hasRequiredImplementation) return implementation$6;\n  hasRequiredImplementation = 1;\n  var keysShim;\n  if (!Object.keys) {\n    // modified from https://github.com/es-shims/es5-shim\n    var has = Object.prototype.hasOwnProperty;\n    var toStr = Object.prototype.toString;\n    var isArgs = isArguments; // eslint-disable-line global-require\n    var isEnumerable = Object.prototype.propertyIsEnumerable;\n    var hasDontEnumBug = !isEnumerable.call({\n      toString: null\n    }, 'toString');\n    var hasProtoEnumBug = isEnumerable.call(function () {}, 'prototype');\n    var dontEnums = ['toString', 'toLocaleString', 'valueOf', 'hasOwnProperty', 'isPrototypeOf', 'propertyIsEnumerable', 'constructor'];\n    var equalsConstructorPrototype = function equalsConstructorPrototype(o) {\n      var ctor = o.constructor;\n      return ctor && ctor.prototype === o;\n    };\n    var excludedKeys = {\n      $applicationCache: true,\n      $console: true,\n      $external: true,\n      $frame: true,\n      $frameElement: true,\n      $frames: true,\n      $innerHeight: true,\n      $innerWidth: true,\n      $onmozfullscreenchange: true,\n      $onmozfullscreenerror: true,\n      $outerHeight: true,\n      $outerWidth: true,\n      $pageXOffset: true,\n      $pageYOffset: true,\n      $parent: true,\n      $scrollLeft: true,\n      $scrollTop: true,\n      $scrollX: true,\n      $scrollY: true,\n      $self: true,\n      $webkitIndexedDB: true,\n      $webkitStorageInfo: true,\n      $window: true\n    };\n    var hasAutomationEqualityBug = function () {\n      /* global window */\n      if (typeof window === 'undefined') {\n        return false;\n      }\n      for (var k in window) {\n        try {\n          if (!excludedKeys['$' + k] && has.call(window, k) && window[k] !== null && _typeof(window[k]) === 'object') {\n            try {\n              equalsConstructorPrototype(window[k]);\n            } catch (e) {\n              return true;\n            }\n          }\n        } catch (e) {\n          return true;\n        }\n      }\n      return false;\n    }();\n    var equalsConstructorPrototypeIfNotBuggy = function equalsConstructorPrototypeIfNotBuggy(o) {\n      /* global window */\n      if (typeof window === 'undefined' || !hasAutomationEqualityBug) {\n        return equalsConstructorPrototype(o);\n      }\n      try {\n        return equalsConstructorPrototype(o);\n      } catch (e) {\n        return false;\n      }\n    };\n    keysShim = function keys(object) {\n      var isObject = object !== null && _typeof(object) === 'object';\n      var isFunction = toStr.call(object) === '[object Function]';\n      var isArguments = isArgs(object);\n      var isString = isObject && toStr.call(object) === '[object String]';\n      var theKeys = [];\n      if (!isObject && !isFunction && !isArguments) {\n        throw new TypeError('Object.keys called on a non-object');\n      }\n      var skipProto = hasProtoEnumBug && isFunction;\n      if (isString && object.length > 0 && !has.call(object, 0)) {\n        for (var i = 0; i < object.length; ++i) {\n          theKeys.push(String(i));\n        }\n      }\n      if (isArguments && object.length > 0) {\n        for (var j = 0; j < object.length; ++j) {\n          theKeys.push(String(j));\n        }\n      } else {\n        for (var name in object) {\n          if (!(skipProto && name === 'prototype') && has.call(object, name)) {\n            theKeys.push(String(name));\n          }\n        }\n      }\n      if (hasDontEnumBug) {\n        var skipConstructor = equalsConstructorPrototypeIfNotBuggy(object);\n        for (var k = 0; k < dontEnums.length; ++k) {\n          if (!(skipConstructor && dontEnums[k] === 'constructor') && has.call(object, dontEnums[k])) {\n            theKeys.push(dontEnums[k]);\n          }\n        }\n      }\n      return theKeys;\n    };\n  }\n  implementation$6 = keysShim;\n  return implementation$6;\n}\n\nvar slice = Array.prototype.slice;\nvar isArgs = isArguments;\nvar origKeys = Object.keys;\nvar keysShim = origKeys ? function keys(o) {\n  return origKeys(o);\n} : requireImplementation();\nvar originalKeys = Object.keys;\nkeysShim.shim = function shimObjectKeys() {\n  if (Object.keys) {\n    var keysWorksWithArguments = function () {\n      // Safari 5.0 bug\n      var args = Object.keys(arguments);\n      return args && args.length === arguments.length;\n    }(1, 2);\n    if (!keysWorksWithArguments) {\n      Object.keys = function keys(object) {\n        // eslint-disable-line func-name-matching\n        if (isArgs(object)) {\n          return originalKeys(slice.call(object));\n        }\n        return originalKeys(object);\n      };\n    }\n  } else {\n    Object.keys = keysShim;\n  }\n  return Object.keys || keysShim;\n};\nvar objectKeys = keysShim;\n\n/* eslint complexity: [2, 18], max-statements: [2, 33] */\nvar shams$1 = function hasSymbols() {\n  if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') {\n    return false;\n  }\n  if (_typeof(Symbol.iterator) === 'symbol') {\n    return true;\n  }\n  var obj = {};\n  var sym = Symbol('test');\n  var symObj = Object(sym);\n  if (typeof sym === 'string') {\n    return false;\n  }\n  if (Object.prototype.toString.call(sym) !== '[object Symbol]') {\n    return false;\n  }\n  if (Object.prototype.toString.call(symObj) !== '[object Symbol]') {\n    return false;\n  }\n\n  // temp disabled per https://github.com/ljharb/object.assign/issues/17\n  // if (sym instanceof Symbol) { return false; }\n  // temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n  // if (!(symObj instanceof Symbol)) { return false; }\n\n  // if (typeof Symbol.prototype.toString !== 'function') { return false; }\n  // if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n  var symVal = 42;\n  obj[sym] = symVal;\n  for (sym in obj) {\n    return false;\n  } // eslint-disable-line no-restricted-syntax, no-unreachable-loop\n  if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) {\n    return false;\n  }\n  if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) {\n    return false;\n  }\n  var syms = Object.getOwnPropertySymbols(obj);\n  if (syms.length !== 1 || syms[0] !== sym) {\n    return false;\n  }\n  if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) {\n    return false;\n  }\n  if (typeof Object.getOwnPropertyDescriptor === 'function') {\n    var descriptor = Object.getOwnPropertyDescriptor(obj, sym);\n    if (descriptor.value !== symVal || descriptor.enumerable !== true) {\n      return false;\n    }\n  }\n  return true;\n};\n\nvar origSymbol = typeof Symbol !== 'undefined' && Symbol;\nvar hasSymbolSham = shams$1;\nvar hasSymbols$4 = function hasNativeSymbols() {\n  if (typeof origSymbol !== 'function') {\n    return false;\n  }\n  if (typeof Symbol !== 'function') {\n    return false;\n  }\n  if (_typeof(origSymbol('foo')) !== 'symbol') {\n    return false;\n  }\n  if (_typeof(Symbol('bar')) !== 'symbol') {\n    return false;\n  }\n  return hasSymbolSham();\n};\n\nvar test = {\n  foo: {}\n};\nvar $Object = Object;\nvar hasProto$1 = function hasProto() {\n  return {\n    __proto__: test\n  }.foo === test.foo && !({\n    __proto__: null\n  } instanceof $Object);\n};\n\nvar bind$2 = functionBind;\nvar src = bind$2.call(Function.call, Object.prototype.hasOwnProperty);\n\nvar undefined$1;\nvar $SyntaxError = SyntaxError;\nvar $Function = Function;\nvar $TypeError$6 = TypeError;\n\n// eslint-disable-next-line consistent-return\nvar getEvalledConstructor = function getEvalledConstructor(expressionSyntax) {\n  try {\n    return $Function('\"use strict\"; return (' + expressionSyntax + ').constructor;')();\n  } catch (e) {}\n};\nvar $gOPD = Object.getOwnPropertyDescriptor;\nif ($gOPD) {\n  try {\n    $gOPD({}, '');\n  } catch (e) {\n    $gOPD = null; // this is IE 8, which has a broken gOPD\n  }\n}\n\nvar throwTypeError = function throwTypeError() {\n  throw new $TypeError$6();\n};\nvar ThrowTypeError = $gOPD ? function () {\n  try {\n    // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties\n    arguments.callee; // IE 8 does not throw here\n    return throwTypeError;\n  } catch (calleeThrows) {\n    try {\n      // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')\n      return $gOPD(arguments, 'callee').get;\n    } catch (gOPDthrows) {\n      return throwTypeError;\n    }\n  }\n}() : throwTypeError;\nvar hasSymbols$3 = hasSymbols$4();\nvar hasProto = hasProto$1();\nvar getProto$1 = Object.getPrototypeOf || (hasProto ? function (x) {\n  return x.__proto__;\n} // eslint-disable-line no-proto\n: null);\nvar needsEval = {};\nvar TypedArray = typeof Uint8Array === 'undefined' || !getProto$1 ? undefined$1 : getProto$1(Uint8Array);\nvar INTRINSICS = {\n  '%AggregateError%': typeof AggregateError === 'undefined' ? undefined$1 : AggregateError,\n  '%Array%': Array,\n  '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer,\n  '%ArrayIteratorPrototype%': hasSymbols$3 && getProto$1 ? getProto$1([][Symbol.iterator]()) : undefined$1,\n  '%AsyncFromSyncIteratorPrototype%': undefined$1,\n  '%AsyncFunction%': needsEval,\n  '%AsyncGenerator%': needsEval,\n  '%AsyncGeneratorFunction%': needsEval,\n  '%AsyncIteratorPrototype%': needsEval,\n  '%Atomics%': typeof Atomics === 'undefined' ? undefined$1 : Atomics,\n  '%BigInt%': typeof BigInt === 'undefined' ? undefined$1 : BigInt,\n  '%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined$1 : BigInt64Array,\n  '%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined$1 : BigUint64Array,\n  '%Boolean%': Boolean,\n  '%DataView%': typeof DataView === 'undefined' ? undefined$1 : DataView,\n  '%Date%': Date,\n  '%decodeURI%': decodeURI,\n  '%decodeURIComponent%': decodeURIComponent,\n  '%encodeURI%': encodeURI,\n  '%encodeURIComponent%': encodeURIComponent,\n  '%Error%': Error,\n  '%eval%': eval,\n  // eslint-disable-line no-eval\n  '%EvalError%': EvalError,\n  '%Float32Array%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array,\n  '%Float64Array%': typeof Float64Array === 'undefined' ? undefined$1 : Float64Array,\n  '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined$1 : FinalizationRegistry,\n  '%Function%': $Function,\n  '%GeneratorFunction%': needsEval,\n  '%Int8Array%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array,\n  '%Int16Array%': typeof Int16Array === 'undefined' ? undefined$1 : Int16Array,\n  '%Int32Array%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array,\n  '%isFinite%': isFinite,\n  '%isNaN%': isNaN,\n  '%IteratorPrototype%': hasSymbols$3 && getProto$1 ? getProto$1(getProto$1([][Symbol.iterator]())) : undefined$1,\n  '%JSON%': (typeof JSON === \"undefined\" ? \"undefined\" : _typeof(JSON)) === 'object' ? JSON : undefined$1,\n  '%Map%': typeof Map === 'undefined' ? undefined$1 : Map,\n  '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$3 || !getProto$1 ? undefined$1 : getProto$1(new Map()[Symbol.iterator]()),\n  '%Math%': Math,\n  '%Number%': Number,\n  '%Object%': Object,\n  '%parseFloat%': parseFloat,\n  '%parseInt%': parseInt,\n  '%Promise%': typeof Promise === 'undefined' ? undefined$1 : Promise,\n  '%Proxy%': typeof Proxy === 'undefined' ? undefined$1 : Proxy,\n  '%RangeError%': RangeError,\n  '%ReferenceError%': ReferenceError,\n  '%Reflect%': typeof Reflect === 'undefined' ? undefined$1 : Reflect,\n  '%RegExp%': RegExp,\n  '%Set%': typeof Set === 'undefined' ? undefined$1 : Set,\n  '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$3 || !getProto$1 ? undefined$1 : getProto$1(new Set()[Symbol.iterator]()),\n  '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer,\n  '%String%': String,\n  '%StringIteratorPrototype%': hasSymbols$3 && getProto$1 ? getProto$1(''[Symbol.iterator]()) : undefined$1,\n  '%Symbol%': hasSymbols$3 ? Symbol : undefined$1,\n  '%SyntaxError%': $SyntaxError,\n  '%ThrowTypeError%': ThrowTypeError,\n  '%TypedArray%': TypedArray,\n  '%TypeError%': $TypeError$6,\n  '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array,\n  '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray,\n  '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array,\n  '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array,\n  '%URIError%': URIError,\n  '%WeakMap%': typeof WeakMap === 'undefined' ? undefined$1 : WeakMap,\n  '%WeakRef%': typeof WeakRef === 'undefined' ? undefined$1 : WeakRef,\n  '%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet\n};\nif (getProto$1) {\n  try {\n    null.error; // eslint-disable-line no-unused-expressions\n  } catch (e) {\n    // https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229\n    var errorProto = getProto$1(getProto$1(e));\n    INTRINSICS['%Error.prototype%'] = errorProto;\n  }\n}\nvar doEval = function doEval(name) {\n  var value;\n  if (name === '%AsyncFunction%') {\n    value = getEvalledConstructor('async function () {}');\n  } else if (name === '%GeneratorFunction%') {\n    value = getEvalledConstructor('function* () {}');\n  } else if (name === '%AsyncGeneratorFunction%') {\n    value = getEvalledConstructor('async function* () {}');\n  } else if (name === '%AsyncGenerator%') {\n    var fn = doEval('%AsyncGeneratorFunction%');\n    if (fn) {\n      value = fn.prototype;\n    }\n  } else if (name === '%AsyncIteratorPrototype%') {\n    var gen = doEval('%AsyncGenerator%');\n    if (gen && getProto$1) {\n      value = getProto$1(gen.prototype);\n    }\n  }\n  INTRINSICS[name] = value;\n  return value;\n};\nvar LEGACY_ALIASES = {\n  '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],\n  '%ArrayPrototype%': ['Array', 'prototype'],\n  '%ArrayProto_entries%': ['Array', 'prototype', 'entries'],\n  '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],\n  '%ArrayProto_keys%': ['Array', 'prototype', 'keys'],\n  '%ArrayProto_values%': ['Array', 'prototype', 'values'],\n  '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],\n  '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],\n  '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],\n  '%BooleanPrototype%': ['Boolean', 'prototype'],\n  '%DataViewPrototype%': ['DataView', 'prototype'],\n  '%DatePrototype%': ['Date', 'prototype'],\n  '%ErrorPrototype%': ['Error', 'prototype'],\n  '%EvalErrorPrototype%': ['EvalError', 'prototype'],\n  '%Float32ArrayPrototype%': ['Float32Array', 'prototype'],\n  '%Float64ArrayPrototype%': ['Float64Array', 'prototype'],\n  '%FunctionPrototype%': ['Function', 'prototype'],\n  '%Generator%': ['GeneratorFunction', 'prototype'],\n  '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],\n  '%Int8ArrayPrototype%': ['Int8Array', 'prototype'],\n  '%Int16ArrayPrototype%': ['Int16Array', 'prototype'],\n  '%Int32ArrayPrototype%': ['Int32Array', 'prototype'],\n  '%JSONParse%': ['JSON', 'parse'],\n  '%JSONStringify%': ['JSON', 'stringify'],\n  '%MapPrototype%': ['Map', 'prototype'],\n  '%NumberPrototype%': ['Number', 'prototype'],\n  '%ObjectPrototype%': ['Object', 'prototype'],\n  '%ObjProto_toString%': ['Object', 'prototype', 'toString'],\n  '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],\n  '%PromisePrototype%': ['Promise', 'prototype'],\n  '%PromiseProto_then%': ['Promise', 'prototype', 'then'],\n  '%Promise_all%': ['Promise', 'all'],\n  '%Promise_reject%': ['Promise', 'reject'],\n  '%Promise_resolve%': ['Promise', 'resolve'],\n  '%RangeErrorPrototype%': ['RangeError', 'prototype'],\n  '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],\n  '%RegExpPrototype%': ['RegExp', 'prototype'],\n  '%SetPrototype%': ['Set', 'prototype'],\n  '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],\n  '%StringPrototype%': ['String', 'prototype'],\n  '%SymbolPrototype%': ['Symbol', 'prototype'],\n  '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],\n  '%TypedArrayPrototype%': ['TypedArray', 'prototype'],\n  '%TypeErrorPrototype%': ['TypeError', 'prototype'],\n  '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],\n  '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],\n  '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],\n  '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],\n  '%URIErrorPrototype%': ['URIError', 'prototype'],\n  '%WeakMapPrototype%': ['WeakMap', 'prototype'],\n  '%WeakSetPrototype%': ['WeakSet', 'prototype']\n};\nvar bind$1 = functionBind;\nvar hasOwn = src;\nvar $concat = bind$1.call(Function.call, Array.prototype.concat);\nvar $spliceApply = bind$1.call(Function.apply, Array.prototype.splice);\nvar $replace = bind$1.call(Function.call, String.prototype.replace);\nvar $strSlice = bind$1.call(Function.call, String.prototype.slice);\nvar $exec = bind$1.call(Function.call, RegExp.prototype.exec);\n\n/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */\nvar rePropName = /[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g;\nvar reEscapeChar = /\\\\(\\\\)?/g; /** Used to match backslashes in property paths. */\nvar stringToPath = function stringToPath(string) {\n  var first = $strSlice(string, 0, 1);\n  var last = $strSlice(string, -1);\n  if (first === '%' && last !== '%') {\n    throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`');\n  } else if (last === '%' && first !== '%') {\n    throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`');\n  }\n  var result = [];\n  $replace(string, rePropName, function (match, number, quote, subString) {\n    result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;\n  });\n  return result;\n};\n/* end adaptation */\n\nvar getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {\n  var intrinsicName = name;\n  var alias;\n  if (hasOwn(LEGACY_ALIASES, intrinsicName)) {\n    alias = LEGACY_ALIASES[intrinsicName];\n    intrinsicName = '%' + alias[0] + '%';\n  }\n  if (hasOwn(INTRINSICS, intrinsicName)) {\n    var value = INTRINSICS[intrinsicName];\n    if (value === needsEval) {\n      value = doEval(intrinsicName);\n    }\n    if (typeof value === 'undefined' && !allowMissing) {\n      throw new $TypeError$6('intrinsic ' + name + ' exists, but is not available. Please file an issue!');\n    }\n    return {\n      alias: alias,\n      name: intrinsicName,\n      value: value\n    };\n  }\n  throw new $SyntaxError('intrinsic ' + name + ' does not exist!');\n};\nvar getIntrinsic = function GetIntrinsic(name, allowMissing) {\n  if (typeof name !== 'string' || name.length === 0) {\n    throw new $TypeError$6('intrinsic name must be a non-empty string');\n  }\n  if (arguments.length > 1 && typeof allowMissing !== 'boolean') {\n    throw new $TypeError$6('\"allowMissing\" argument must be a boolean');\n  }\n  if ($exec(/^%?[^%]*%?$/, name) === null) {\n    throw new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');\n  }\n  var parts = stringToPath(name);\n  var intrinsicBaseName = parts.length > 0 ? parts[0] : '';\n  var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);\n  var intrinsicRealName = intrinsic.name;\n  var value = intrinsic.value;\n  var skipFurtherCaching = false;\n  var alias = intrinsic.alias;\n  if (alias) {\n    intrinsicBaseName = alias[0];\n    $spliceApply(parts, $concat([0, 1], alias));\n  }\n  for (var i = 1, isOwn = true; i < parts.length; i += 1) {\n    var part = parts[i];\n    var first = $strSlice(part, 0, 1);\n    var last = $strSlice(part, -1);\n    if ((first === '\"' || first === \"'\" || first === '`' || last === '\"' || last === \"'\" || last === '`') && first !== last) {\n      throw new $SyntaxError('property names with quotes must have matching quotes');\n    }\n    if (part === 'constructor' || !isOwn) {\n      skipFurtherCaching = true;\n    }\n    intrinsicBaseName += '.' + part;\n    intrinsicRealName = '%' + intrinsicBaseName + '%';\n    if (hasOwn(INTRINSICS, intrinsicRealName)) {\n      value = INTRINSICS[intrinsicRealName];\n    } else if (value != null) {\n      if (!(part in value)) {\n        if (!allowMissing) {\n          throw new $TypeError$6('base intrinsic for ' + name + ' exists, but the property is not available.');\n        }\n        return void undefined$1;\n      }\n      if ($gOPD && i + 1 >= parts.length) {\n        var desc = $gOPD(value, part);\n        isOwn = !!desc;\n\n        // By convention, when a data property is converted to an accessor\n        // property to emulate a data property that does not suffer from\n        // the override mistake, that accessor's getter is marked with\n        // an `originalValue` property. Here, when we detect this, we\n        // uphold the illusion by pretending to see that original data\n        // property, i.e., returning the value rather than the getter\n        // itself.\n        if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {\n          value = desc.get;\n        } else {\n          value = value[part];\n        }\n      } else {\n        isOwn = hasOwn(value, part);\n        value = value[part];\n      }\n      if (isOwn && !skipFurtherCaching) {\n        INTRINSICS[intrinsicRealName] = value;\n      }\n    }\n  }\n  return value;\n};\n\nvar GetIntrinsic$c = getIntrinsic;\nvar $defineProperty = GetIntrinsic$c('%Object.defineProperty%', true);\nvar hasPropertyDescriptors$2 = function hasPropertyDescriptors() {\n  if ($defineProperty) {\n    try {\n      $defineProperty({}, 'a', {\n        value: 1\n      });\n      return true;\n    } catch (e) {\n      // IE 8 has a broken defineProperty\n      return false;\n    }\n  }\n  return false;\n};\nhasPropertyDescriptors$2.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {\n  // node v0.6 has a bug where array lengths can be Set but not Defined\n  if (!hasPropertyDescriptors$2()) {\n    return null;\n  }\n  try {\n    return $defineProperty([], 'length', {\n      value: 1\n    }).length !== 1;\n  } catch (e) {\n    // In Firefox 4-22, defining length on an array throws an exception.\n    return true;\n  }\n};\nvar hasPropertyDescriptors_1 = hasPropertyDescriptors$2;\n\nvar keys = objectKeys;\nvar hasSymbols$2 = typeof Symbol === 'function' && _typeof(Symbol('foo')) === 'symbol';\nvar toStr$2 = Object.prototype.toString;\nvar concat = Array.prototype.concat;\nvar origDefineProperty = Object.defineProperty;\nvar isFunction = function isFunction(fn) {\n  return typeof fn === 'function' && toStr$2.call(fn) === '[object Function]';\n};\nvar hasPropertyDescriptors$1 = hasPropertyDescriptors_1();\nvar supportsDescriptors = origDefineProperty && hasPropertyDescriptors$1;\nvar defineProperty = function defineProperty(object, name, value, predicate) {\n  if (name in object) {\n    if (predicate === true) {\n      if (object[name] === value) {\n        return;\n      }\n    } else if (!isFunction(predicate) || !predicate()) {\n      return;\n    }\n  }\n  if (supportsDescriptors) {\n    origDefineProperty(object, name, {\n      configurable: true,\n      enumerable: false,\n      value: value,\n      writable: true\n    });\n  } else {\n    object[name] = value; // eslint-disable-line no-param-reassign\n  }\n};\n\nvar defineProperties$1 = function defineProperties(object, map) {\n  var predicates = arguments.length > 2 ? arguments[2] : {};\n  var props = keys(map);\n  if (hasSymbols$2) {\n    props = concat.call(props, Object.getOwnPropertySymbols(map));\n  }\n  for (var i = 0; i < props.length; i += 1) {\n    defineProperty(object, props[i], map[props[i]], predicates[props[i]]);\n  }\n};\ndefineProperties$1.supportsDescriptors = !!supportsDescriptors;\nvar defineProperties_1 = defineProperties$1;\n\nvar functionsHaveNames = function functionsHaveNames() {\n  return typeof function f() {}.name === 'string';\n};\nvar gOPD = Object.getOwnPropertyDescriptor;\nif (gOPD) {\n  try {\n    gOPD([], 'length');\n  } catch (e) {\n    // IE 8 has a broken gOPD\n    gOPD = null;\n  }\n}\nfunctionsHaveNames.functionsHaveConfigurableNames = function functionsHaveConfigurableNames() {\n  if (!functionsHaveNames() || !gOPD) {\n    return false;\n  }\n  var desc = gOPD(function () {}, 'name');\n  return !!desc && !!desc.configurable;\n};\nvar $bind = Function.prototype.bind;\nfunctionsHaveNames.boundFunctionsHaveNames = function boundFunctionsHaveNames() {\n  return functionsHaveNames() && typeof $bind === 'function' && function f() {}.bind().name !== '';\n};\nvar functionsHaveNames_1 = functionsHaveNames;\n\nvar callBind$1 = {exports: {}};\n\n(function (module) {\n\n  var bind = functionBind;\n  var GetIntrinsic = getIntrinsic;\n  var $apply = GetIntrinsic('%Function.prototype.apply%');\n  var $call = GetIntrinsic('%Function.prototype.call%');\n  var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);\n  var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);\n  var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);\n  var $max = GetIntrinsic('%Math.max%');\n  if ($defineProperty) {\n    try {\n      $defineProperty({}, 'a', {\n        value: 1\n      });\n    } catch (e) {\n      // IE 8 has a broken defineProperty\n      $defineProperty = null;\n    }\n  }\n  module.exports = function callBind(originalFunction) {\n    var func = $reflectApply(bind, $call, arguments);\n    if ($gOPD && $defineProperty) {\n      var desc = $gOPD(func, 'length');\n      if (desc.configurable) {\n        // original length, plus the receiver, minus any additional arguments (after the receiver)\n        $defineProperty(func, 'length', {\n          value: 1 + $max(0, originalFunction.length - (arguments.length - 1))\n        });\n      }\n    }\n    return func;\n  };\n  var applyBind = function applyBind() {\n    return $reflectApply(bind, $apply, arguments);\n  };\n  if ($defineProperty) {\n    $defineProperty(module.exports, 'apply', {\n      value: applyBind\n    });\n  } else {\n    module.exports.apply = applyBind;\n  }\n})(callBind$1);\nvar callBindExports = callBind$1.exports;\n\nvar GetIntrinsic$b = getIntrinsic;\nvar callBind = callBindExports;\nvar $indexOf = callBind(GetIntrinsic$b('String.prototype.indexOf'));\nvar callBound$3 = function callBoundIntrinsic(name, allowMissing) {\n  var intrinsic = GetIntrinsic$b(name, !!allowMissing);\n  if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {\n    return callBind(intrinsic);\n  }\n  return intrinsic;\n};\n\nvar isLeadingSurrogate$1;\nvar hasRequiredIsLeadingSurrogate;\nfunction requireIsLeadingSurrogate() {\n  if (hasRequiredIsLeadingSurrogate) return isLeadingSurrogate$1;\n  hasRequiredIsLeadingSurrogate = 1;\n  isLeadingSurrogate$1 = function isLeadingSurrogate(charCode) {\n    return typeof charCode === 'number' && charCode >= 0xD800 && charCode <= 0xDBFF;\n  };\n  return isLeadingSurrogate$1;\n}\n\nvar isTrailingSurrogate$1;\nvar hasRequiredIsTrailingSurrogate;\nfunction requireIsTrailingSurrogate() {\n  if (hasRequiredIsTrailingSurrogate) return isTrailingSurrogate$1;\n  hasRequiredIsTrailingSurrogate = 1;\n  isTrailingSurrogate$1 = function isTrailingSurrogate(charCode) {\n    return typeof charCode === 'number' && charCode >= 0xDC00 && charCode <= 0xDFFF;\n  };\n  return isTrailingSurrogate$1;\n}\n\n// https://262.ecma-international.org/5.1/#sec-8\n\nvar Type$9 = function Type(x) {\n  if (x === null) {\n    return 'Null';\n  }\n  if (typeof x === 'undefined') {\n    return 'Undefined';\n  }\n  if (typeof x === 'function' || _typeof(x) === 'object') {\n    return 'Object';\n  }\n  if (typeof x === 'number') {\n    return 'Number';\n  }\n  if (typeof x === 'boolean') {\n    return 'Boolean';\n  }\n  if (typeof x === 'string') {\n    return 'String';\n  }\n};\n\nvar ES5Type = Type$9;\n\n// https://262.ecma-international.org/11.0/#sec-ecmascript-data-types-and-values\n\nvar Type$8 = function Type(x) {\n  if (_typeof(x) === 'symbol') {\n    return 'Symbol';\n  }\n  if (typeof x === 'bigint') {\n    return 'BigInt';\n  }\n  return ES5Type(x);\n};\n\nvar UTF16SurrogatePairToCodePoint$1;\nvar hasRequiredUTF16SurrogatePairToCodePoint;\nfunction requireUTF16SurrogatePairToCodePoint() {\n  if (hasRequiredUTF16SurrogatePairToCodePoint) return UTF16SurrogatePairToCodePoint$1;\n  hasRequiredUTF16SurrogatePairToCodePoint = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $TypeError = GetIntrinsic('%TypeError%');\n  var $fromCharCode = GetIntrinsic('%String.fromCharCode%');\n  var isLeadingSurrogate = requireIsLeadingSurrogate();\n  var isTrailingSurrogate = requireIsTrailingSurrogate();\n\n  // https://tc39.es/ecma262/2020/#sec-utf16decodesurrogatepair\n\n  UTF16SurrogatePairToCodePoint$1 = function UTF16SurrogatePairToCodePoint(lead, trail) {\n    if (!isLeadingSurrogate(lead) || !isTrailingSurrogate(trail)) {\n      throw new $TypeError('Assertion failed: `lead` must be a leading surrogate char code, and `trail` must be a trailing surrogate char code');\n    }\n    // var cp = (lead - 0xD800) * 0x400 + (trail - 0xDC00) + 0x10000;\n    return $fromCharCode(lead) + $fromCharCode(trail);\n  };\n  return UTF16SurrogatePairToCodePoint$1;\n}\n\nvar GetIntrinsic$a = getIntrinsic;\nvar $TypeError$5 = GetIntrinsic$a('%TypeError%');\nvar callBound$2 = callBound$3;\nvar isLeadingSurrogate = requireIsLeadingSurrogate();\nvar isTrailingSurrogate = requireIsTrailingSurrogate();\nvar Type$7 = Type$8;\nvar UTF16SurrogatePairToCodePoint = requireUTF16SurrogatePairToCodePoint();\nvar $charAt = callBound$2('String.prototype.charAt');\nvar $charCodeAt = callBound$2('String.prototype.charCodeAt');\n\n// https://262.ecma-international.org/12.0/#sec-codepointat\n\nvar CodePointAt$1 = function CodePointAt(string, position) {\n  if (Type$7(string) !== 'String') {\n    throw new $TypeError$5('Assertion failed: `string` must be a String');\n  }\n  var size = string.length;\n  if (position < 0 || position >= size) {\n    throw new $TypeError$5('Assertion failed: `position` must be >= 0, and < the length of `string`');\n  }\n  var first = $charCodeAt(string, position);\n  var cp = $charAt(string, position);\n  var firstIsLeading = isLeadingSurrogate(first);\n  var firstIsTrailing = isTrailingSurrogate(first);\n  if (!firstIsLeading && !firstIsTrailing) {\n    return {\n      '[[CodePoint]]': cp,\n      '[[CodeUnitCount]]': 1,\n      '[[IsUnpairedSurrogate]]': false\n    };\n  }\n  if (firstIsTrailing || position + 1 === size) {\n    return {\n      '[[CodePoint]]': cp,\n      '[[CodeUnitCount]]': 1,\n      '[[IsUnpairedSurrogate]]': true\n    };\n  }\n  var second = $charCodeAt(string, position + 1);\n  if (!isTrailingSurrogate(second)) {\n    return {\n      '[[CodePoint]]': cp,\n      '[[CodeUnitCount]]': 1,\n      '[[IsUnpairedSurrogate]]': true\n    };\n  }\n  return {\n    '[[CodePoint]]': UTF16SurrogatePairToCodePoint(first, second),\n    '[[CodeUnitCount]]': 2,\n    '[[IsUnpairedSurrogate]]': false\n  };\n};\n\nvar GetIntrinsic$9 = getIntrinsic;\nvar $abs = GetIntrinsic$9('%Math.abs%');\n\n// http://262.ecma-international.org/5.1/#sec-5.2\n\nvar abs$1 = function abs(x) {\n  return $abs(x);\n};\n\nvar Type$6 = Type$8;\n\n// var modulo = require('./modulo');\nvar $floor = Math.floor;\n\n// http://262.ecma-international.org/11.0/#eqn-floor\n\nvar floor$1 = function floor(x) {\n  // return x - modulo(x, 1);\n  if (Type$6(x) === 'BigInt') {\n    return x;\n  }\n  return $floor(x);\n};\n\nvar _isNaN = Number.isNaN || function isNaN(a) {\n  return a !== a;\n};\n\nvar $isNaN$1 = _isNaN;\nvar _isFinite = function _isFinite(x) {\n  return (typeof x === 'number' || typeof x === 'bigint') && !$isNaN$1(x) && x !== Infinity && x !== -Infinity;\n};\n\nvar abs = abs$1;\nvar floor = floor$1;\nvar Type$5 = Type$8;\nvar $isNaN = _isNaN;\nvar $isFinite = _isFinite;\n\n// https://tc39.es/ecma262/#sec-isintegralnumber\n\nvar IsIntegralNumber$1 = function IsIntegralNumber(argument) {\n  if (Type$5(argument) !== 'Number' || $isNaN(argument) || !$isFinite(argument)) {\n    return false;\n  }\n  var absValue = abs(argument);\n  return floor(absValue) === absValue;\n};\n\nvar GetIntrinsic$8 = getIntrinsic;\nvar $Math = GetIntrinsic$8('%Math%');\nvar $Number = GetIntrinsic$8('%Number%');\nvar maxSafeInteger = $Number.MAX_SAFE_INTEGER || $Math.pow(2, 53) - 1;\n\nvar GetIntrinsic$7 = getIntrinsic;\nvar CodePointAt = CodePointAt$1;\nvar IsIntegralNumber = IsIntegralNumber$1;\nvar Type$4 = Type$8;\nvar MAX_SAFE_INTEGER = maxSafeInteger;\nvar $TypeError$4 = GetIntrinsic$7('%TypeError%');\n\n// https://262.ecma-international.org/12.0/#sec-advancestringindex\n\nvar AdvanceStringIndex$1 = function AdvanceStringIndex(S, index, unicode) {\n  if (Type$4(S) !== 'String') {\n    throw new $TypeError$4('Assertion failed: `S` must be a String');\n  }\n  if (!IsIntegralNumber(index) || index < 0 || index > MAX_SAFE_INTEGER) {\n    throw new $TypeError$4('Assertion failed: `length` must be an integer >= 0 and <= 2**53');\n  }\n  if (Type$4(unicode) !== 'Boolean') {\n    throw new $TypeError$4('Assertion failed: `unicode` must be a Boolean');\n  }\n  if (!unicode) {\n    return index + 1;\n  }\n  var length = S.length;\n  if (index + 1 >= length) {\n    return index + 1;\n  }\n  var cp = CodePointAt(S, index);\n  return index + cp['[[CodeUnitCount]]'];\n};\n\nvar IsPropertyKey$3;\nvar hasRequiredIsPropertyKey;\nfunction requireIsPropertyKey() {\n  if (hasRequiredIsPropertyKey) return IsPropertyKey$3;\n  hasRequiredIsPropertyKey = 1;\n\n  // https://262.ecma-international.org/6.0/#sec-ispropertykey\n\n  IsPropertyKey$3 = function IsPropertyKey(argument) {\n    return typeof argument === 'string' || _typeof(argument) === 'symbol';\n  };\n  return IsPropertyKey$3;\n}\n\nvar gopd;\nvar hasRequiredGopd;\nfunction requireGopd() {\n  if (hasRequiredGopd) return gopd;\n  hasRequiredGopd = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);\n  if ($gOPD) {\n    try {\n      $gOPD([], 'length');\n    } catch (e) {\n      // IE 8 has a broken gOPD\n      $gOPD = null;\n    }\n  }\n  gopd = $gOPD;\n  return gopd;\n}\n\nvar isPropertyDescriptor;\nvar hasRequiredIsPropertyDescriptor;\nfunction requireIsPropertyDescriptor() {\n  if (hasRequiredIsPropertyDescriptor) return isPropertyDescriptor;\n  hasRequiredIsPropertyDescriptor = 1;\n  var GetIntrinsic = getIntrinsic;\n  var has = src;\n  var $TypeError = GetIntrinsic('%TypeError%');\n  isPropertyDescriptor = function IsPropertyDescriptor(ES, Desc) {\n    if (ES.Type(Desc) !== 'Object') {\n      return false;\n    }\n    var allowed = {\n      '[[Configurable]]': true,\n      '[[Enumerable]]': true,\n      '[[Get]]': true,\n      '[[Set]]': true,\n      '[[Value]]': true,\n      '[[Writable]]': true\n    };\n    for (var key in Desc) {\n      // eslint-disable-line no-restricted-syntax\n      if (has(Desc, key) && !allowed[key]) {\n        return false;\n      }\n    }\n    if (ES.IsDataDescriptor(Desc) && ES.IsAccessorDescriptor(Desc)) {\n      throw new $TypeError('Property Descriptors may not be both accessor and data descriptors');\n    }\n    return true;\n  };\n  return isPropertyDescriptor;\n}\n\nvar isMatchRecord;\nvar hasRequiredIsMatchRecord;\nfunction requireIsMatchRecord() {\n  if (hasRequiredIsMatchRecord) return isMatchRecord;\n  hasRequiredIsMatchRecord = 1;\n  var has = src;\n\n  // https://262.ecma-international.org/13.0/#sec-match-records\n\n  isMatchRecord = function isMatchRecord(record) {\n    return has(record, '[[StartIndex]]') && has(record, '[[EndIndex]]') && record['[[StartIndex]]'] >= 0 && record['[[EndIndex]]'] >= record['[[StartIndex]]'] && String(parseInt(record['[[StartIndex]]'], 10)) === String(record['[[StartIndex]]']) && String(parseInt(record['[[EndIndex]]'], 10)) === String(record['[[EndIndex]]']);\n  };\n  return isMatchRecord;\n}\n\nvar assertRecord;\nvar hasRequiredAssertRecord;\nfunction requireAssertRecord() {\n  if (hasRequiredAssertRecord) return assertRecord;\n  hasRequiredAssertRecord = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $TypeError = GetIntrinsic('%TypeError%');\n  var $SyntaxError = GetIntrinsic('%SyntaxError%');\n  var has = src;\n  var isMatchRecord = requireIsMatchRecord();\n  var predicates = {\n    // https://262.ecma-international.org/6.0/#sec-property-descriptor-specification-type\n    'Property Descriptor': function isPropertyDescriptor(Desc) {\n      var allowed = {\n        '[[Configurable]]': true,\n        '[[Enumerable]]': true,\n        '[[Get]]': true,\n        '[[Set]]': true,\n        '[[Value]]': true,\n        '[[Writable]]': true\n      };\n      if (!Desc) {\n        return false;\n      }\n      for (var key in Desc) {\n        // eslint-disable-line\n        if (has(Desc, key) && !allowed[key]) {\n          return false;\n        }\n      }\n      var isData = has(Desc, '[[Value]]');\n      var IsAccessor = has(Desc, '[[Get]]') || has(Desc, '[[Set]]');\n      if (isData && IsAccessor) {\n        throw new $TypeError('Property Descriptors may not be both accessor and data descriptors');\n      }\n      return true;\n    },\n    // https://262.ecma-international.org/13.0/#sec-match-records\n    'Match Record': isMatchRecord,\n    'Iterator Record': function isIteratorRecord(value) {\n      return has(value, '[[Iterator]]') && has(value, '[[NextMethod]]') && has(value, '[[Done]]');\n    },\n    'PromiseCapability Record': function isPromiseCapabilityRecord(value) {\n      return !!value && has(value, '[[Resolve]]') && typeof value['[[Resolve]]'] === 'function' && has(value, '[[Reject]]') && typeof value['[[Reject]]'] === 'function' && has(value, '[[Promise]]') && value['[[Promise]]'] && typeof value['[[Promise]]'].then === 'function';\n    },\n    'AsyncGeneratorRequest Record': function isAsyncGeneratorRequestRecord(value) {\n      return !!value && has(value, '[[Completion]]') // TODO: confirm is a completion record\n      && has(value, '[[Capability]]') && predicates['PromiseCapability Record'](value['[[Capability]]']);\n    }\n  };\n  assertRecord = function assertRecord(Type, recordType, argumentName, value) {\n    var predicate = predicates[recordType];\n    if (typeof predicate !== 'function') {\n      throw new $SyntaxError('unknown record type: ' + recordType);\n    }\n    if (Type(value) !== 'Object' || !predicate(value)) {\n      throw new $TypeError(argumentName + ' must be a ' + recordType);\n    }\n  };\n  return assertRecord;\n}\n\nvar IsAccessorDescriptor;\nvar hasRequiredIsAccessorDescriptor;\nfunction requireIsAccessorDescriptor() {\n  if (hasRequiredIsAccessorDescriptor) return IsAccessorDescriptor;\n  hasRequiredIsAccessorDescriptor = 1;\n  var has = src;\n  var Type = Type$8;\n  var assertRecord = requireAssertRecord();\n\n  // https://262.ecma-international.org/5.1/#sec-8.10.1\n\n  IsAccessorDescriptor = function IsAccessorDescriptor(Desc) {\n    if (typeof Desc === 'undefined') {\n      return false;\n    }\n    assertRecord(Type, 'Property Descriptor', 'Desc', Desc);\n    if (!has(Desc, '[[Get]]') && !has(Desc, '[[Set]]')) {\n      return false;\n    }\n    return true;\n  };\n  return IsAccessorDescriptor;\n}\n\nvar IsDataDescriptor$1;\nvar hasRequiredIsDataDescriptor;\nfunction requireIsDataDescriptor() {\n  if (hasRequiredIsDataDescriptor) return IsDataDescriptor$1;\n  hasRequiredIsDataDescriptor = 1;\n  var has = src;\n  var Type = Type$8;\n  var assertRecord = requireAssertRecord();\n\n  // https://262.ecma-international.org/5.1/#sec-8.10.2\n\n  IsDataDescriptor$1 = function IsDataDescriptor(Desc) {\n    if (typeof Desc === 'undefined') {\n      return false;\n    }\n    assertRecord(Type, 'Property Descriptor', 'Desc', Desc);\n    if (!has(Desc, '[[Value]]') && !has(Desc, '[[Writable]]')) {\n      return false;\n    }\n    return true;\n  };\n  return IsDataDescriptor$1;\n}\n\nvar isPrimitive;\nvar hasRequiredIsPrimitive;\nfunction requireIsPrimitive() {\n  if (hasRequiredIsPrimitive) return isPrimitive;\n  hasRequiredIsPrimitive = 1;\n  isPrimitive = function isPrimitive(value) {\n    return value === null || typeof value !== 'function' && _typeof(value) !== 'object';\n  };\n  return isPrimitive;\n}\n\nvar IsExtensible;\nvar hasRequiredIsExtensible;\nfunction requireIsExtensible() {\n  if (hasRequiredIsExtensible) return IsExtensible;\n  hasRequiredIsExtensible = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $preventExtensions = GetIntrinsic('%Object.preventExtensions%', true);\n  var $isExtensible = GetIntrinsic('%Object.isExtensible%', true);\n  var isPrimitive = requireIsPrimitive();\n\n  // https://262.ecma-international.org/6.0/#sec-isextensible-o\n\n  IsExtensible = $preventExtensions ? function IsExtensible(obj) {\n    return !isPrimitive(obj) && $isExtensible(obj);\n  } : function IsExtensible(obj) {\n    return !isPrimitive(obj);\n  };\n  return IsExtensible;\n}\n\nvar ToBoolean;\nvar hasRequiredToBoolean;\nfunction requireToBoolean() {\n  if (hasRequiredToBoolean) return ToBoolean;\n  hasRequiredToBoolean = 1;\n\n  // http://262.ecma-international.org/5.1/#sec-9.2\n\n  ToBoolean = function ToBoolean(value) {\n    return !!value;\n  };\n  return ToBoolean;\n}\n\nvar isCallable;\nvar hasRequiredIsCallable$1;\nfunction requireIsCallable$1() {\n  if (hasRequiredIsCallable$1) return isCallable;\n  hasRequiredIsCallable$1 = 1;\n  var fnToStr = Function.prototype.toString;\n  var reflectApply = (typeof Reflect === \"undefined\" ? \"undefined\" : _typeof(Reflect)) === 'object' && Reflect !== null && Reflect.apply;\n  var badArrayLike;\n  var isCallableMarker;\n  if (typeof reflectApply === 'function' && typeof Object.defineProperty === 'function') {\n    try {\n      badArrayLike = Object.defineProperty({}, 'length', {\n        get: function get() {\n          throw isCallableMarker;\n        }\n      });\n      isCallableMarker = {};\n      // eslint-disable-next-line no-throw-literal\n      reflectApply(function () {\n        throw 42;\n      }, null, badArrayLike);\n    } catch (_) {\n      if (_ !== isCallableMarker) {\n        reflectApply = null;\n      }\n    }\n  } else {\n    reflectApply = null;\n  }\n  var constructorRegex = /^\\s*class\\b/;\n  var isES6ClassFn = function isES6ClassFunction(value) {\n    try {\n      var fnStr = fnToStr.call(value);\n      return constructorRegex.test(fnStr);\n    } catch (e) {\n      return false; // not a function\n    }\n  };\n\n  var tryFunctionObject = function tryFunctionToStr(value) {\n    try {\n      if (isES6ClassFn(value)) {\n        return false;\n      }\n      fnToStr.call(value);\n      return true;\n    } catch (e) {\n      return false;\n    }\n  };\n  var toStr = Object.prototype.toString;\n  var objectClass = '[object Object]';\n  var fnClass = '[object Function]';\n  var genClass = '[object GeneratorFunction]';\n  var ddaClass = '[object HTMLAllCollection]'; // IE 11\n  var ddaClass2 = '[object HTML document.all class]';\n  var ddaClass3 = '[object HTMLCollection]'; // IE 9-10\n  var hasToStringTag = typeof Symbol === 'function' && !!Symbol.toStringTag; // better: use `has-tostringtag`\n\n  var isIE68 = !(0 in [,]); // eslint-disable-line no-sparse-arrays, comma-spacing\n\n  var isDDA = function isDocumentDotAll() {\n    return false;\n  };\n  if ((typeof document === \"undefined\" ? \"undefined\" : _typeof(document)) === 'object') {\n    // Firefox 3 canonicalizes DDA to undefined when it's not accessed directly\n    var all = document.all;\n    if (toStr.call(all) === toStr.call(document.all)) {\n      isDDA = function isDocumentDotAll(value) {\n        /* globals document: false */\n        // in IE 6-8, typeof document.all is \"object\" and it's truthy\n        if ((isIE68 || !value) && (typeof value === 'undefined' || _typeof(value) === 'object')) {\n          try {\n            var str = toStr.call(value);\n            return (str === ddaClass || str === ddaClass2 || str === ddaClass3 // opera 12.16\n            || str === objectClass // IE 6-8\n            ) && value('') == null; // eslint-disable-line eqeqeq\n          } catch (e) {/**/}\n        }\n        return false;\n      };\n    }\n  }\n  isCallable = reflectApply ? function isCallable(value) {\n    if (isDDA(value)) {\n      return true;\n    }\n    if (!value) {\n      return false;\n    }\n    if (typeof value !== 'function' && _typeof(value) !== 'object') {\n      return false;\n    }\n    try {\n      reflectApply(value, null, badArrayLike);\n    } catch (e) {\n      if (e !== isCallableMarker) {\n        return false;\n      }\n    }\n    return !isES6ClassFn(value) && tryFunctionObject(value);\n  } : function isCallable(value) {\n    if (isDDA(value)) {\n      return true;\n    }\n    if (!value) {\n      return false;\n    }\n    if (typeof value !== 'function' && _typeof(value) !== 'object') {\n      return false;\n    }\n    if (hasToStringTag) {\n      return tryFunctionObject(value);\n    }\n    if (isES6ClassFn(value)) {\n      return false;\n    }\n    var strClass = toStr.call(value);\n    if (strClass !== fnClass && strClass !== genClass && !/^\\[object HTML/.test(strClass)) {\n      return false;\n    }\n    return tryFunctionObject(value);\n  };\n  return isCallable;\n}\n\nvar IsCallable$1;\nvar hasRequiredIsCallable;\nfunction requireIsCallable() {\n  if (hasRequiredIsCallable) return IsCallable$1;\n  hasRequiredIsCallable = 1;\n\n  // http://262.ecma-international.org/5.1/#sec-9.11\n\n  IsCallable$1 = requireIsCallable$1();\n  return IsCallable$1;\n}\n\nvar ToPropertyDescriptor;\nvar hasRequiredToPropertyDescriptor;\nfunction requireToPropertyDescriptor() {\n  if (hasRequiredToPropertyDescriptor) return ToPropertyDescriptor;\n  hasRequiredToPropertyDescriptor = 1;\n  var has = src;\n  var GetIntrinsic = getIntrinsic;\n  var $TypeError = GetIntrinsic('%TypeError%');\n  var Type = Type$8;\n  var ToBoolean = requireToBoolean();\n  var IsCallable = requireIsCallable();\n\n  // https://262.ecma-international.org/5.1/#sec-8.10.5\n\n  ToPropertyDescriptor = function ToPropertyDescriptor(Obj) {\n    if (Type(Obj) !== 'Object') {\n      throw new $TypeError('ToPropertyDescriptor requires an object');\n    }\n    var desc = {};\n    if (has(Obj, 'enumerable')) {\n      desc['[[Enumerable]]'] = ToBoolean(Obj.enumerable);\n    }\n    if (has(Obj, 'configurable')) {\n      desc['[[Configurable]]'] = ToBoolean(Obj.configurable);\n    }\n    if (has(Obj, 'value')) {\n      desc['[[Value]]'] = Obj.value;\n    }\n    if (has(Obj, 'writable')) {\n      desc['[[Writable]]'] = ToBoolean(Obj.writable);\n    }\n    if (has(Obj, 'get')) {\n      var getter = Obj.get;\n      if (typeof getter !== 'undefined' && !IsCallable(getter)) {\n        throw new $TypeError('getter must be a function');\n      }\n      desc['[[Get]]'] = getter;\n    }\n    if (has(Obj, 'set')) {\n      var setter = Obj.set;\n      if (typeof setter !== 'undefined' && !IsCallable(setter)) {\n        throw new $TypeError('setter must be a function');\n      }\n      desc['[[Set]]'] = setter;\n    }\n    if ((has(desc, '[[Get]]') || has(desc, '[[Set]]')) && (has(desc, '[[Value]]') || has(desc, '[[Writable]]'))) {\n      throw new $TypeError('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');\n    }\n    return desc;\n  };\n  return ToPropertyDescriptor;\n}\n\nvar SameValue$1;\nvar hasRequiredSameValue;\nfunction requireSameValue() {\n  if (hasRequiredSameValue) return SameValue$1;\n  hasRequiredSameValue = 1;\n  var $isNaN = _isNaN;\n\n  // http://262.ecma-international.org/5.1/#sec-9.12\n\n  SameValue$1 = function SameValue(x, y) {\n    if (x === y) {\n      // 0 === -0, but they are not identical.\n      if (x === 0) {\n        return 1 / x === 1 / y;\n      }\n      return true;\n    }\n    return $isNaN(x) && $isNaN(y);\n  };\n  return SameValue$1;\n}\n\nvar GetIntrinsic$6 = getIntrinsic;\nvar $Array = GetIntrinsic$6('%Array%');\n\n// eslint-disable-next-line global-require\nvar toStr$1 = !$Array.isArray && callBound$3('Object.prototype.toString');\nvar IsArray$2 = $Array.isArray || function IsArray(argument) {\n  return toStr$1(argument) === '[object Array]';\n};\n\nvar DefineOwnProperty$1;\nvar hasRequiredDefineOwnProperty;\nfunction requireDefineOwnProperty() {\n  if (hasRequiredDefineOwnProperty) return DefineOwnProperty$1;\n  hasRequiredDefineOwnProperty = 1;\n  var hasPropertyDescriptors = hasPropertyDescriptors_1;\n  var GetIntrinsic = getIntrinsic;\n  var $defineProperty = hasPropertyDescriptors() && GetIntrinsic('%Object.defineProperty%', true);\n  var hasArrayLengthDefineBug = hasPropertyDescriptors.hasArrayLengthDefineBug();\n\n  // eslint-disable-next-line global-require\n  var isArray = hasArrayLengthDefineBug && IsArray$2;\n  var callBound = callBound$3;\n  var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable');\n\n  // eslint-disable-next-line max-params\n  DefineOwnProperty$1 = function DefineOwnProperty(IsDataDescriptor, SameValue, FromPropertyDescriptor, O, P, desc) {\n    if (!$defineProperty) {\n      if (!IsDataDescriptor(desc)) {\n        // ES3 does not support getters/setters\n        return false;\n      }\n      if (!desc['[[Configurable]]'] || !desc['[[Writable]]']) {\n        return false;\n      }\n\n      // fallback for ES3\n      if (P in O && $isEnumerable(O, P) !== !!desc['[[Enumerable]]']) {\n        // a non-enumerable existing property\n        return false;\n      }\n\n      // property does not exist at all, or exists but is enumerable\n      var V = desc['[[Value]]'];\n      // eslint-disable-next-line no-param-reassign\n      O[P] = V; // will use [[Define]]\n      return SameValue(O[P], V);\n    }\n    if (hasArrayLengthDefineBug && P === 'length' && '[[Value]]' in desc && isArray(O) && O.length !== desc['[[Value]]']) {\n      // eslint-disable-next-line no-param-reassign\n      O.length = desc['[[Value]]'];\n      return O.length === desc['[[Value]]'];\n    }\n    $defineProperty(O, P, FromPropertyDescriptor(desc));\n    return true;\n  };\n  return DefineOwnProperty$1;\n}\n\nvar isFullyPopulatedPropertyDescriptor;\nvar hasRequiredIsFullyPopulatedPropertyDescriptor;\nfunction requireIsFullyPopulatedPropertyDescriptor() {\n  if (hasRequiredIsFullyPopulatedPropertyDescriptor) return isFullyPopulatedPropertyDescriptor;\n  hasRequiredIsFullyPopulatedPropertyDescriptor = 1;\n  isFullyPopulatedPropertyDescriptor = function isFullyPopulatedPropertyDescriptor(ES, Desc) {\n    return !!Desc && _typeof(Desc) === 'object' && '[[Enumerable]]' in Desc && '[[Configurable]]' in Desc && (ES.IsAccessorDescriptor(Desc) || ES.IsDataDescriptor(Desc));\n  };\n  return isFullyPopulatedPropertyDescriptor;\n}\n\nvar fromPropertyDescriptor;\nvar hasRequiredFromPropertyDescriptor$1;\nfunction requireFromPropertyDescriptor$1() {\n  if (hasRequiredFromPropertyDescriptor$1) return fromPropertyDescriptor;\n  hasRequiredFromPropertyDescriptor$1 = 1;\n  fromPropertyDescriptor = function fromPropertyDescriptor(Desc) {\n    if (typeof Desc === 'undefined') {\n      return Desc;\n    }\n    var obj = {};\n    if ('[[Value]]' in Desc) {\n      obj.value = Desc['[[Value]]'];\n    }\n    if ('[[Writable]]' in Desc) {\n      obj.writable = !!Desc['[[Writable]]'];\n    }\n    if ('[[Get]]' in Desc) {\n      obj.get = Desc['[[Get]]'];\n    }\n    if ('[[Set]]' in Desc) {\n      obj.set = Desc['[[Set]]'];\n    }\n    if ('[[Enumerable]]' in Desc) {\n      obj.enumerable = !!Desc['[[Enumerable]]'];\n    }\n    if ('[[Configurable]]' in Desc) {\n      obj.configurable = !!Desc['[[Configurable]]'];\n    }\n    return obj;\n  };\n  return fromPropertyDescriptor;\n}\n\nvar FromPropertyDescriptor$1;\nvar hasRequiredFromPropertyDescriptor;\nfunction requireFromPropertyDescriptor() {\n  if (hasRequiredFromPropertyDescriptor) return FromPropertyDescriptor$1;\n  hasRequiredFromPropertyDescriptor = 1;\n  var assertRecord = requireAssertRecord();\n  var fromPropertyDescriptor = requireFromPropertyDescriptor$1();\n  var Type = Type$8;\n\n  // https://262.ecma-international.org/6.0/#sec-frompropertydescriptor\n\n  FromPropertyDescriptor$1 = function FromPropertyDescriptor(Desc) {\n    if (typeof Desc !== 'undefined') {\n      assertRecord(Type, 'Property Descriptor', 'Desc', Desc);\n    }\n    return fromPropertyDescriptor(Desc);\n  };\n  return FromPropertyDescriptor$1;\n}\n\nvar IsGenericDescriptor;\nvar hasRequiredIsGenericDescriptor;\nfunction requireIsGenericDescriptor() {\n  if (hasRequiredIsGenericDescriptor) return IsGenericDescriptor;\n  hasRequiredIsGenericDescriptor = 1;\n  var assertRecord = requireAssertRecord();\n  var IsAccessorDescriptor = requireIsAccessorDescriptor();\n  var IsDataDescriptor = requireIsDataDescriptor();\n  var Type = Type$8;\n\n  // https://262.ecma-international.org/6.0/#sec-isgenericdescriptor\n\n  IsGenericDescriptor = function IsGenericDescriptor(Desc) {\n    if (typeof Desc === 'undefined') {\n      return false;\n    }\n    assertRecord(Type, 'Property Descriptor', 'Desc', Desc);\n    if (!IsAccessorDescriptor(Desc) && !IsDataDescriptor(Desc)) {\n      return true;\n    }\n    return false;\n  };\n  return IsGenericDescriptor;\n}\n\nvar ValidateAndApplyPropertyDescriptor;\nvar hasRequiredValidateAndApplyPropertyDescriptor;\nfunction requireValidateAndApplyPropertyDescriptor() {\n  if (hasRequiredValidateAndApplyPropertyDescriptor) return ValidateAndApplyPropertyDescriptor;\n  hasRequiredValidateAndApplyPropertyDescriptor = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $TypeError = GetIntrinsic('%TypeError%');\n  var DefineOwnProperty = requireDefineOwnProperty();\n  var isFullyPopulatedPropertyDescriptor = requireIsFullyPopulatedPropertyDescriptor();\n  var isPropertyDescriptor = requireIsPropertyDescriptor();\n  var FromPropertyDescriptor = requireFromPropertyDescriptor();\n  var IsAccessorDescriptor = requireIsAccessorDescriptor();\n  var IsDataDescriptor = requireIsDataDescriptor();\n  var IsGenericDescriptor = requireIsGenericDescriptor();\n  var IsPropertyKey = requireIsPropertyKey();\n  var SameValue = requireSameValue();\n  var Type = Type$8;\n\n  // https://262.ecma-international.org/13.0/#sec-validateandapplypropertydescriptor\n\n  // see https://github.com/tc39/ecma262/pull/2468 for ES2022 changes\n\n  // eslint-disable-next-line max-lines-per-function, max-statements, max-params\n  ValidateAndApplyPropertyDescriptor = function ValidateAndApplyPropertyDescriptor(O, P, extensible, Desc, current) {\n    var oType = Type(O);\n    if (oType !== 'Undefined' && oType !== 'Object') {\n      throw new $TypeError('Assertion failed: O must be undefined or an Object');\n    }\n    if (!IsPropertyKey(P)) {\n      throw new $TypeError('Assertion failed: P must be a Property Key');\n    }\n    if (Type(extensible) !== 'Boolean') {\n      throw new $TypeError('Assertion failed: extensible must be a Boolean');\n    }\n    if (!isPropertyDescriptor({\n      Type: Type,\n      IsDataDescriptor: IsDataDescriptor,\n      IsAccessorDescriptor: IsAccessorDescriptor\n    }, Desc)) {\n      throw new $TypeError('Assertion failed: Desc must be a Property Descriptor');\n    }\n    if (Type(current) !== 'Undefined' && !isPropertyDescriptor({\n      Type: Type,\n      IsDataDescriptor: IsDataDescriptor,\n      IsAccessorDescriptor: IsAccessorDescriptor\n    }, current)) {\n      throw new $TypeError('Assertion failed: current must be a Property Descriptor, or undefined');\n    }\n    if (Type(current) === 'Undefined') {\n      // step 2\n      if (!extensible) {\n        return false; // step 2.a\n      }\n\n      if (oType === 'Undefined') {\n        return true; // step 2.b\n      }\n\n      if (IsAccessorDescriptor(Desc)) {\n        // step 2.c\n        return DefineOwnProperty(IsDataDescriptor, SameValue, FromPropertyDescriptor, O, P, Desc);\n      }\n      // step 2.d\n      return DefineOwnProperty(IsDataDescriptor, SameValue, FromPropertyDescriptor, O, P, {\n        '[[Configurable]]': !!Desc['[[Configurable]]'],\n        '[[Enumerable]]': !!Desc['[[Enumerable]]'],\n        '[[Value]]': Desc['[[Value]]'],\n        '[[Writable]]': !!Desc['[[Writable]]']\n      });\n    }\n\n    // 3. Assert: current is a fully populated Property Descriptor.\n    if (!isFullyPopulatedPropertyDescriptor({\n      IsAccessorDescriptor: IsAccessorDescriptor,\n      IsDataDescriptor: IsDataDescriptor\n    }, current)) {\n      throw new $TypeError('`current`, when present, must be a fully populated and valid Property Descriptor');\n    }\n\n    // 4. If every field in Desc is absent, return true.\n    // this can't really match the assertion that it's a Property Descriptor in our JS implementation\n\n    // 5. If current.[[Configurable]] is false, then\n    if (!current['[[Configurable]]']) {\n      if ('[[Configurable]]' in Desc && Desc['[[Configurable]]']) {\n        // step 5.a\n        return false;\n      }\n      if ('[[Enumerable]]' in Desc && !SameValue(Desc['[[Enumerable]]'], current['[[Enumerable]]'])) {\n        // step 5.b\n        return false;\n      }\n      if (!IsGenericDescriptor(Desc) && !SameValue(IsAccessorDescriptor(Desc), IsAccessorDescriptor(current))) {\n        // step 5.c\n        return false;\n      }\n      if (IsAccessorDescriptor(current)) {\n        // step 5.d\n        if ('[[Get]]' in Desc && !SameValue(Desc['[[Get]]'], current['[[Get]]'])) {\n          return false;\n        }\n        if ('[[Set]]' in Desc && !SameValue(Desc['[[Set]]'], current['[[Set]]'])) {\n          return false;\n        }\n      } else if (!current['[[Writable]]']) {\n        // step 5.e\n        if ('[[Writable]]' in Desc && Desc['[[Writable]]']) {\n          return false;\n        }\n        if ('[[Value]]' in Desc && !SameValue(Desc['[[Value]]'], current['[[Value]]'])) {\n          return false;\n        }\n      }\n    }\n\n    // 6. If O is not undefined, then\n    if (oType !== 'Undefined') {\n      var configurable;\n      var enumerable;\n      if (IsDataDescriptor(current) && IsAccessorDescriptor(Desc)) {\n        // step 6.a\n        configurable = ('[[Configurable]]' in Desc ? Desc : current)['[[Configurable]]'];\n        enumerable = ('[[Enumerable]]' in Desc ? Desc : current)['[[Enumerable]]'];\n        // Replace the property named P of object O with an accessor property having [[Configurable]] and [[Enumerable]] attributes as described by current and each other attribute set to its default value.\n        return DefineOwnProperty(IsDataDescriptor, SameValue, FromPropertyDescriptor, O, P, {\n          '[[Configurable]]': !!configurable,\n          '[[Enumerable]]': !!enumerable,\n          '[[Get]]': ('[[Get]]' in Desc ? Desc : current)['[[Get]]'],\n          '[[Set]]': ('[[Set]]' in Desc ? Desc : current)['[[Set]]']\n        });\n      } else if (IsAccessorDescriptor(current) && IsDataDescriptor(Desc)) {\n        configurable = ('[[Configurable]]' in Desc ? Desc : current)['[[Configurable]]'];\n        enumerable = ('[[Enumerable]]' in Desc ? Desc : current)['[[Enumerable]]'];\n        // i. Replace the property named P of object O with a data property having [[Configurable]] and [[Enumerable]] attributes as described by current and each other attribute set to its default value.\n        return DefineOwnProperty(IsDataDescriptor, SameValue, FromPropertyDescriptor, O, P, {\n          '[[Configurable]]': !!configurable,\n          '[[Enumerable]]': !!enumerable,\n          '[[Value]]': ('[[Value]]' in Desc ? Desc : current)['[[Value]]'],\n          '[[Writable]]': !!('[[Writable]]' in Desc ? Desc : current)['[[Writable]]']\n        });\n      }\n\n      // For each field of Desc that is present, set the corresponding attribute of the property named P of object O to the value of the field.\n      return DefineOwnProperty(IsDataDescriptor, SameValue, FromPropertyDescriptor, O, P, Desc);\n    }\n    return true; // step 7\n  };\n\n  return ValidateAndApplyPropertyDescriptor;\n}\n\nvar OrdinaryDefineOwnProperty;\nvar hasRequiredOrdinaryDefineOwnProperty;\nfunction requireOrdinaryDefineOwnProperty() {\n  if (hasRequiredOrdinaryDefineOwnProperty) return OrdinaryDefineOwnProperty;\n  hasRequiredOrdinaryDefineOwnProperty = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $gOPD = requireGopd();\n  var $SyntaxError = GetIntrinsic('%SyntaxError%');\n  var $TypeError = GetIntrinsic('%TypeError%');\n  var isPropertyDescriptor = requireIsPropertyDescriptor();\n  var IsAccessorDescriptor = requireIsAccessorDescriptor();\n  var IsDataDescriptor = requireIsDataDescriptor();\n  var IsExtensible = requireIsExtensible();\n  var IsPropertyKey = requireIsPropertyKey();\n  var ToPropertyDescriptor = requireToPropertyDescriptor();\n  var SameValue = requireSameValue();\n  var Type = Type$8;\n  var ValidateAndApplyPropertyDescriptor = requireValidateAndApplyPropertyDescriptor();\n\n  // https://262.ecma-international.org/6.0/#sec-ordinarydefineownproperty\n\n  OrdinaryDefineOwnProperty = function OrdinaryDefineOwnProperty(O, P, Desc) {\n    if (Type(O) !== 'Object') {\n      throw new $TypeError('Assertion failed: O must be an Object');\n    }\n    if (!IsPropertyKey(P)) {\n      throw new $TypeError('Assertion failed: P must be a Property Key');\n    }\n    if (!isPropertyDescriptor({\n      Type: Type,\n      IsDataDescriptor: IsDataDescriptor,\n      IsAccessorDescriptor: IsAccessorDescriptor\n    }, Desc)) {\n      throw new $TypeError('Assertion failed: Desc must be a Property Descriptor');\n    }\n    if (!$gOPD) {\n      // ES3/IE 8 fallback\n      if (IsAccessorDescriptor(Desc)) {\n        throw new $SyntaxError('This environment does not support accessor property descriptors.');\n      }\n      var creatingNormalDataProperty = !(P in O) && Desc['[[Writable]]'] && Desc['[[Enumerable]]'] && Desc['[[Configurable]]'] && '[[Value]]' in Desc;\n      var settingExistingDataProperty = P in O && (!('[[Configurable]]' in Desc) || Desc['[[Configurable]]']) && (!('[[Enumerable]]' in Desc) || Desc['[[Enumerable]]']) && (!('[[Writable]]' in Desc) || Desc['[[Writable]]']) && '[[Value]]' in Desc;\n      if (creatingNormalDataProperty || settingExistingDataProperty) {\n        O[P] = Desc['[[Value]]']; // eslint-disable-line no-param-reassign\n        return SameValue(O[P], Desc['[[Value]]']);\n      }\n      throw new $SyntaxError('This environment does not support defining non-writable, non-enumerable, or non-configurable properties');\n    }\n    var desc = $gOPD(O, P);\n    var current = desc && ToPropertyDescriptor(desc);\n    var extensible = IsExtensible(O);\n    return ValidateAndApplyPropertyDescriptor(O, P, extensible, Desc, current);\n  };\n  return OrdinaryDefineOwnProperty;\n}\n\nvar CreateDataProperty$1;\nvar hasRequiredCreateDataProperty;\nfunction requireCreateDataProperty() {\n  if (hasRequiredCreateDataProperty) return CreateDataProperty$1;\n  hasRequiredCreateDataProperty = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $TypeError = GetIntrinsic('%TypeError%');\n  var IsPropertyKey = requireIsPropertyKey();\n  var OrdinaryDefineOwnProperty = requireOrdinaryDefineOwnProperty();\n  var Type = Type$8;\n\n  // https://262.ecma-international.org/6.0/#sec-createdataproperty\n\n  CreateDataProperty$1 = function CreateDataProperty(O, P, V) {\n    if (Type(O) !== 'Object') {\n      throw new $TypeError('Assertion failed: Type(O) is not Object');\n    }\n    if (!IsPropertyKey(P)) {\n      throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true');\n    }\n    var newDesc = {\n      '[[Configurable]]': true,\n      '[[Enumerable]]': true,\n      '[[Value]]': V,\n      '[[Writable]]': true\n    };\n    return OrdinaryDefineOwnProperty(O, P, newDesc);\n  };\n  return CreateDataProperty$1;\n}\n\nvar GetIntrinsic$5 = getIntrinsic;\nvar $TypeError$3 = GetIntrinsic$5('%TypeError%');\nvar CreateDataProperty = requireCreateDataProperty();\nvar IsPropertyKey$2 = requireIsPropertyKey();\nvar Type$3 = Type$8;\n\n// // https://262.ecma-international.org/6.0/#sec-createdatapropertyorthrow\n\nvar CreateDataPropertyOrThrow$1 = function CreateDataPropertyOrThrow(O, P, V) {\n  if (Type$3(O) !== 'Object') {\n    throw new $TypeError$3('Assertion failed: Type(O) is not Object');\n  }\n  if (!IsPropertyKey$2(P)) {\n    throw new $TypeError$3('Assertion failed: IsPropertyKey(P) is not true');\n  }\n  var success = CreateDataProperty(O, P, V);\n  if (!success) {\n    throw new $TypeError$3('unable to create data property');\n  }\n  return success;\n};\n\nvar GetIntrinsic$4 = getIntrinsic;\nvar $TypeError$2 = GetIntrinsic$4('%TypeError%');\nvar DefineOwnProperty = requireDefineOwnProperty();\nvar FromPropertyDescriptor = requireFromPropertyDescriptor();\nvar IsDataDescriptor = requireIsDataDescriptor();\nvar IsPropertyKey$1 = requireIsPropertyKey();\nvar SameValue = requireSameValue();\nvar Type$2 = Type$8;\n\n// https://262.ecma-international.org/6.0/#sec-createmethodproperty\n\nvar CreateMethodProperty$1 = function CreateMethodProperty(O, P, V) {\n  if (Type$2(O) !== 'Object') {\n    throw new $TypeError$2('Assertion failed: Type(O) is not Object');\n  }\n  if (!IsPropertyKey$1(P)) {\n    throw new $TypeError$2('Assertion failed: IsPropertyKey(P) is not true');\n  }\n  var newDesc = {\n    '[[Configurable]]': true,\n    '[[Enumerable]]': false,\n    '[[Value]]': V,\n    '[[Writable]]': true\n  };\n  return DefineOwnProperty(IsDataDescriptor, SameValue, FromPropertyDescriptor, O, P, newDesc);\n};\n\nvar CheckObjectCoercible;\nvar hasRequiredCheckObjectCoercible;\nfunction requireCheckObjectCoercible() {\n  if (hasRequiredCheckObjectCoercible) return CheckObjectCoercible;\n  hasRequiredCheckObjectCoercible = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $TypeError = GetIntrinsic('%TypeError%');\n\n  // http://262.ecma-international.org/5.1/#sec-9.10\n\n  CheckObjectCoercible = function CheckObjectCoercible(value, optMessage) {\n    if (value == null) {\n      throw new $TypeError(optMessage || 'Cannot call method on ' + value);\n    }\n    return value;\n  };\n  return CheckObjectCoercible;\n}\n\nvar RequireObjectCoercible;\nvar hasRequiredRequireObjectCoercible;\nfunction requireRequireObjectCoercible() {\n  if (hasRequiredRequireObjectCoercible) return RequireObjectCoercible;\n  hasRequiredRequireObjectCoercible = 1;\n  RequireObjectCoercible = requireCheckObjectCoercible();\n  return RequireObjectCoercible;\n}\n\nvar ToObject;\nvar hasRequiredToObject;\nfunction requireToObject() {\n  if (hasRequiredToObject) return ToObject;\n  hasRequiredToObject = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $Object = GetIntrinsic('%Object%');\n  var RequireObjectCoercible = requireRequireObjectCoercible();\n\n  // https://262.ecma-international.org/6.0/#sec-toobject\n\n  ToObject = function ToObject(value) {\n    RequireObjectCoercible(value);\n    return $Object(value);\n  };\n  return ToObject;\n}\n\nvar GetV$1;\nvar hasRequiredGetV;\nfunction requireGetV() {\n  if (hasRequiredGetV) return GetV$1;\n  hasRequiredGetV = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $TypeError = GetIntrinsic('%TypeError%');\n  var IsPropertyKey = requireIsPropertyKey();\n  var ToObject = requireToObject();\n\n  // https://262.ecma-international.org/6.0/#sec-getv\n\n  GetV$1 = function GetV(V, P) {\n    // 7.3.2.1\n    if (!IsPropertyKey(P)) {\n      throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true');\n    }\n\n    // 7.3.2.2-3\n    var O = ToObject(V);\n\n    // 7.3.2.4\n    return O[P];\n  };\n  return GetV$1;\n}\n\nvar util_inspect;\nvar hasRequiredUtil_inspect;\nfunction requireUtil_inspect() {\n  if (hasRequiredUtil_inspect) return util_inspect;\n  hasRequiredUtil_inspect = 1;\n  util_inspect = require$$0.inspect;\n  return util_inspect;\n}\n\nvar objectInspect;\nvar hasRequiredObjectInspect;\nfunction requireObjectInspect() {\n  if (hasRequiredObjectInspect) return objectInspect;\n  hasRequiredObjectInspect = 1;\n  var hasMap = typeof Map === 'function' && Map.prototype;\n  var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;\n  var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null;\n  var mapForEach = hasMap && Map.prototype.forEach;\n  var hasSet = typeof Set === 'function' && Set.prototype;\n  var setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null;\n  var setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null;\n  var setForEach = hasSet && Set.prototype.forEach;\n  var hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype;\n  var weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;\n  var hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype;\n  var weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;\n  var hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype;\n  var weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;\n  var booleanValueOf = Boolean.prototype.valueOf;\n  var objectToString = Object.prototype.toString;\n  var functionToString = Function.prototype.toString;\n  var $match = String.prototype.match;\n  var $slice = String.prototype.slice;\n  var $replace = String.prototype.replace;\n  var $toUpperCase = String.prototype.toUpperCase;\n  var $toLowerCase = String.prototype.toLowerCase;\n  var $test = RegExp.prototype.test;\n  var $concat = Array.prototype.concat;\n  var $join = Array.prototype.join;\n  var $arrSlice = Array.prototype.slice;\n  var $floor = Math.floor;\n  var bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null;\n  var gOPS = Object.getOwnPropertySymbols;\n  var symToString = typeof Symbol === 'function' && _typeof(Symbol.iterator) === 'symbol' ? Symbol.prototype.toString : null;\n  var hasShammedSymbols = typeof Symbol === 'function' && _typeof(Symbol.iterator) === 'object';\n  // ie, `has-tostringtag/shams\n  var toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (_typeof(Symbol.toStringTag) === hasShammedSymbols ? 'object' : 'symbol') ? Symbol.toStringTag : null;\n  var isEnumerable = Object.prototype.propertyIsEnumerable;\n  var gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype // eslint-disable-line no-proto\n  ? function (O) {\n    return O.__proto__; // eslint-disable-line no-proto\n  } : null);\n  function addNumericSeparator(num, str) {\n    if (num === Infinity || num === -Infinity || num !== num || num && num > -1000 && num < 1000 || $test.call(/e/, str)) {\n      return str;\n    }\n    var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;\n    if (typeof num === 'number') {\n      var _int = num < 0 ? -$floor(-num) : $floor(num); // trunc(num)\n      if (_int !== num) {\n        var intStr = String(_int);\n        var dec = $slice.call(str, intStr.length + 1);\n        return $replace.call(intStr, sepRegex, '$&_') + '.' + $replace.call($replace.call(dec, /([0-9]{3})/g, '$&_'), /_$/, '');\n      }\n    }\n    return $replace.call(str, sepRegex, '$&_');\n  }\n  var utilInspect = requireUtil_inspect();\n  var inspectCustom = utilInspect.custom;\n  var inspectSymbol = isSymbol(inspectCustom) ? inspectCustom : null;\n  objectInspect = function inspect_(obj, options, depth, seen) {\n    var opts = options || {};\n    if (has(opts, 'quoteStyle') && opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double') {\n      throw new TypeError('option \"quoteStyle\" must be \"single\" or \"double\"');\n    }\n    if (has(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number' ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity : opts.maxStringLength !== null)) {\n      throw new TypeError('option \"maxStringLength\", if provided, must be a positive integer, Infinity, or `null`');\n    }\n    var customInspect = has(opts, 'customInspect') ? opts.customInspect : true;\n    if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') {\n      throw new TypeError('option \"customInspect\", if provided, must be `true`, `false`, or `\\'symbol\\'`');\n    }\n    if (has(opts, 'indent') && opts.indent !== null && opts.indent !== '\\t' && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)) {\n      throw new TypeError('option \"indent\" must be \"\\\\t\", an integer > 0, or `null`');\n    }\n    if (has(opts, 'numericSeparator') && typeof opts.numericSeparator !== 'boolean') {\n      throw new TypeError('option \"numericSeparator\", if provided, must be `true` or `false`');\n    }\n    var numericSeparator = opts.numericSeparator;\n    if (typeof obj === 'undefined') {\n      return 'undefined';\n    }\n    if (obj === null) {\n      return 'null';\n    }\n    if (typeof obj === 'boolean') {\n      return obj ? 'true' : 'false';\n    }\n    if (typeof obj === 'string') {\n      return inspectString(obj, opts);\n    }\n    if (typeof obj === 'number') {\n      if (obj === 0) {\n        return Infinity / obj > 0 ? '0' : '-0';\n      }\n      var str = String(obj);\n      return numericSeparator ? addNumericSeparator(obj, str) : str;\n    }\n    if (typeof obj === 'bigint') {\n      var bigIntStr = String(obj) + 'n';\n      return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr;\n    }\n    var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth;\n    if (typeof depth === 'undefined') {\n      depth = 0;\n    }\n    if (depth >= maxDepth && maxDepth > 0 && _typeof(obj) === 'object') {\n      return isArray(obj) ? '[Array]' : '[Object]';\n    }\n    var indent = getIndent(opts, depth);\n    if (typeof seen === 'undefined') {\n      seen = [];\n    } else if (indexOf(seen, obj) >= 0) {\n      return '[Circular]';\n    }\n    function inspect(value, from, noIndent) {\n      if (from) {\n        seen = $arrSlice.call(seen);\n        seen.push(from);\n      }\n      if (noIndent) {\n        var newOpts = {\n          depth: opts.depth\n        };\n        if (has(opts, 'quoteStyle')) {\n          newOpts.quoteStyle = opts.quoteStyle;\n        }\n        return inspect_(value, newOpts, depth + 1, seen);\n      }\n      return inspect_(value, opts, depth + 1, seen);\n    }\n    if (typeof obj === 'function' && !isRegExp(obj)) {\n      // in older engines, regexes are callable\n      var name = nameOf(obj);\n      var keys = arrObjKeys(obj, inspect);\n      return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + $join.call(keys, ', ') + ' }' : '');\n    }\n    if (isSymbol(obj)) {\n      var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\\(.*\\))_[^)]*$/, '$1') : symToString.call(obj);\n      return _typeof(obj) === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString;\n    }\n    if (isElement(obj)) {\n      var s = '<' + $toLowerCase.call(String(obj.nodeName));\n      var attrs = obj.attributes || [];\n      for (var i = 0; i < attrs.length; i++) {\n        s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts);\n      }\n      s += '>';\n      if (obj.childNodes && obj.childNodes.length) {\n        s += '...';\n      }\n      s += '</' + $toLowerCase.call(String(obj.nodeName)) + '>';\n      return s;\n    }\n    if (isArray(obj)) {\n      if (obj.length === 0) {\n        return '[]';\n      }\n      var xs = arrObjKeys(obj, inspect);\n      if (indent && !singleLineValues(xs)) {\n        return '[' + indentedJoin(xs, indent) + ']';\n      }\n      return '[ ' + $join.call(xs, ', ') + ' ]';\n    }\n    if (isError(obj)) {\n      var parts = arrObjKeys(obj, inspect);\n      if (!('cause' in Error.prototype) && 'cause' in obj && !isEnumerable.call(obj, 'cause')) {\n        return '{ [' + String(obj) + '] ' + $join.call($concat.call('[cause]: ' + inspect(obj.cause), parts), ', ') + ' }';\n      }\n      if (parts.length === 0) {\n        return '[' + String(obj) + ']';\n      }\n      return '{ [' + String(obj) + '] ' + $join.call(parts, ', ') + ' }';\n    }\n    if (_typeof(obj) === 'object' && customInspect) {\n      if (inspectSymbol && typeof obj[inspectSymbol] === 'function' && utilInspect) {\n        return utilInspect(obj, {\n          depth: maxDepth - depth\n        });\n      } else if (customInspect !== 'symbol' && typeof obj.inspect === 'function') {\n        return obj.inspect();\n      }\n    }\n    if (isMap(obj)) {\n      var mapParts = [];\n      if (mapForEach) {\n        mapForEach.call(obj, function (value, key) {\n          mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj));\n        });\n      }\n      return collectionOf('Map', mapSize.call(obj), mapParts, indent);\n    }\n    if (isSet(obj)) {\n      var setParts = [];\n      if (setForEach) {\n        setForEach.call(obj, function (value) {\n          setParts.push(inspect(value, obj));\n        });\n      }\n      return collectionOf('Set', setSize.call(obj), setParts, indent);\n    }\n    if (isWeakMap(obj)) {\n      return weakCollectionOf('WeakMap');\n    }\n    if (isWeakSet(obj)) {\n      return weakCollectionOf('WeakSet');\n    }\n    if (isWeakRef(obj)) {\n      return weakCollectionOf('WeakRef');\n    }\n    if (isNumber(obj)) {\n      return markBoxed(inspect(Number(obj)));\n    }\n    if (isBigInt(obj)) {\n      return markBoxed(inspect(bigIntValueOf.call(obj)));\n    }\n    if (isBoolean(obj)) {\n      return markBoxed(booleanValueOf.call(obj));\n    }\n    if (isString(obj)) {\n      return markBoxed(inspect(String(obj)));\n    }\n    if (!isDate(obj) && !isRegExp(obj)) {\n      var ys = arrObjKeys(obj, inspect);\n      var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;\n      var protoTag = obj instanceof Object ? '' : 'null prototype';\n      var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? 'Object' : '';\n      var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : '';\n      var tag = constructorTag + (stringTag || protoTag ? '[' + $join.call($concat.call([], stringTag || [], protoTag || []), ': ') + '] ' : '');\n      if (ys.length === 0) {\n        return tag + '{}';\n      }\n      if (indent) {\n        return tag + '{' + indentedJoin(ys, indent) + '}';\n      }\n      return tag + '{ ' + $join.call(ys, ', ') + ' }';\n    }\n    return String(obj);\n  };\n  function wrapQuotes(s, defaultStyle, opts) {\n    var quoteChar = (opts.quoteStyle || defaultStyle) === 'double' ? '\"' : \"'\";\n    return quoteChar + s + quoteChar;\n  }\n  function quote(s) {\n    return $replace.call(String(s), /\"/g, '&quot;');\n  }\n  function isArray(obj) {\n    return toStr(obj) === '[object Array]' && (!toStringTag || !(_typeof(obj) === 'object' && toStringTag in obj));\n  }\n  function isDate(obj) {\n    return toStr(obj) === '[object Date]' && (!toStringTag || !(_typeof(obj) === 'object' && toStringTag in obj));\n  }\n  function isRegExp(obj) {\n    return toStr(obj) === '[object RegExp]' && (!toStringTag || !(_typeof(obj) === 'object' && toStringTag in obj));\n  }\n  function isError(obj) {\n    return toStr(obj) === '[object Error]' && (!toStringTag || !(_typeof(obj) === 'object' && toStringTag in obj));\n  }\n  function isString(obj) {\n    return toStr(obj) === '[object String]' && (!toStringTag || !(_typeof(obj) === 'object' && toStringTag in obj));\n  }\n  function isNumber(obj) {\n    return toStr(obj) === '[object Number]' && (!toStringTag || !(_typeof(obj) === 'object' && toStringTag in obj));\n  }\n  function isBoolean(obj) {\n    return toStr(obj) === '[object Boolean]' && (!toStringTag || !(_typeof(obj) === 'object' && toStringTag in obj));\n  }\n\n  // Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives\n  function isSymbol(obj) {\n    if (hasShammedSymbols) {\n      return obj && _typeof(obj) === 'object' && obj instanceof Symbol;\n    }\n    if (_typeof(obj) === 'symbol') {\n      return true;\n    }\n    if (!obj || _typeof(obj) !== 'object' || !symToString) {\n      return false;\n    }\n    try {\n      symToString.call(obj);\n      return true;\n    } catch (e) {}\n    return false;\n  }\n  function isBigInt(obj) {\n    if (!obj || _typeof(obj) !== 'object' || !bigIntValueOf) {\n      return false;\n    }\n    try {\n      bigIntValueOf.call(obj);\n      return true;\n    } catch (e) {}\n    return false;\n  }\n  var hasOwn = Object.prototype.hasOwnProperty || function (key) {\n    return key in this;\n  };\n  function has(obj, key) {\n    return hasOwn.call(obj, key);\n  }\n  function toStr(obj) {\n    return objectToString.call(obj);\n  }\n  function nameOf(f) {\n    if (f.name) {\n      return f.name;\n    }\n    var m = $match.call(functionToString.call(f), /^function\\s*([\\w$]+)/);\n    if (m) {\n      return m[1];\n    }\n    return null;\n  }\n  function indexOf(xs, x) {\n    if (xs.indexOf) {\n      return xs.indexOf(x);\n    }\n    for (var i = 0, l = xs.length; i < l; i++) {\n      if (xs[i] === x) {\n        return i;\n      }\n    }\n    return -1;\n  }\n  function isMap(x) {\n    if (!mapSize || !x || _typeof(x) !== 'object') {\n      return false;\n    }\n    try {\n      mapSize.call(x);\n      try {\n        setSize.call(x);\n      } catch (s) {\n        return true;\n      }\n      return x instanceof Map; // core-js workaround, pre-v2.5.0\n    } catch (e) {}\n    return false;\n  }\n  function isWeakMap(x) {\n    if (!weakMapHas || !x || _typeof(x) !== 'object') {\n      return false;\n    }\n    try {\n      weakMapHas.call(x, weakMapHas);\n      try {\n        weakSetHas.call(x, weakSetHas);\n      } catch (s) {\n        return true;\n      }\n      return x instanceof WeakMap; // core-js workaround, pre-v2.5.0\n    } catch (e) {}\n    return false;\n  }\n  function isWeakRef(x) {\n    if (!weakRefDeref || !x || _typeof(x) !== 'object') {\n      return false;\n    }\n    try {\n      weakRefDeref.call(x);\n      return true;\n    } catch (e) {}\n    return false;\n  }\n  function isSet(x) {\n    if (!setSize || !x || _typeof(x) !== 'object') {\n      return false;\n    }\n    try {\n      setSize.call(x);\n      try {\n        mapSize.call(x);\n      } catch (m) {\n        return true;\n      }\n      return x instanceof Set; // core-js workaround, pre-v2.5.0\n    } catch (e) {}\n    return false;\n  }\n  function isWeakSet(x) {\n    if (!weakSetHas || !x || _typeof(x) !== 'object') {\n      return false;\n    }\n    try {\n      weakSetHas.call(x, weakSetHas);\n      try {\n        weakMapHas.call(x, weakMapHas);\n      } catch (s) {\n        return true;\n      }\n      return x instanceof WeakSet; // core-js workaround, pre-v2.5.0\n    } catch (e) {}\n    return false;\n  }\n  function isElement(x) {\n    if (!x || _typeof(x) !== 'object') {\n      return false;\n    }\n    if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) {\n      return true;\n    }\n    return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function';\n  }\n  function inspectString(str, opts) {\n    if (str.length > opts.maxStringLength) {\n      var remaining = str.length - opts.maxStringLength;\n      var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : '');\n      return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer;\n    }\n    // eslint-disable-next-line no-control-regex\n    var s = $replace.call($replace.call(str, /(['\\\\])/g, '\\\\$1'), /[\\x00-\\x1f]/g, lowbyte);\n    return wrapQuotes(s, 'single', opts);\n  }\n  function lowbyte(c) {\n    var n = c.charCodeAt(0);\n    var x = {\n      8: 'b',\n      9: 't',\n      10: 'n',\n      12: 'f',\n      13: 'r'\n    }[n];\n    if (x) {\n      return '\\\\' + x;\n    }\n    return '\\\\x' + (n < 0x10 ? '0' : '') + $toUpperCase.call(n.toString(16));\n  }\n  function markBoxed(str) {\n    return 'Object(' + str + ')';\n  }\n  function weakCollectionOf(type) {\n    return type + ' { ? }';\n  }\n  function collectionOf(type, size, entries, indent) {\n    var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ', ');\n    return type + ' (' + size + ') {' + joinedEntries + '}';\n  }\n  function singleLineValues(xs) {\n    for (var i = 0; i < xs.length; i++) {\n      if (indexOf(xs[i], '\\n') >= 0) {\n        return false;\n      }\n    }\n    return true;\n  }\n  function getIndent(opts, depth) {\n    var baseIndent;\n    if (opts.indent === '\\t') {\n      baseIndent = '\\t';\n    } else if (typeof opts.indent === 'number' && opts.indent > 0) {\n      baseIndent = $join.call(Array(opts.indent + 1), ' ');\n    } else {\n      return null;\n    }\n    return {\n      base: baseIndent,\n      prev: $join.call(Array(depth + 1), baseIndent)\n    };\n  }\n  function indentedJoin(xs, indent) {\n    if (xs.length === 0) {\n      return '';\n    }\n    var lineJoiner = '\\n' + indent.prev + indent.base;\n    return lineJoiner + $join.call(xs, ',' + lineJoiner) + '\\n' + indent.prev;\n  }\n  function arrObjKeys(obj, inspect) {\n    var isArr = isArray(obj);\n    var xs = [];\n    if (isArr) {\n      xs.length = obj.length;\n      for (var i = 0; i < obj.length; i++) {\n        xs[i] = has(obj, i) ? inspect(obj[i], obj) : '';\n      }\n    }\n    var syms = typeof gOPS === 'function' ? gOPS(obj) : [];\n    var symMap;\n    if (hasShammedSymbols) {\n      symMap = {};\n      for (var k = 0; k < syms.length; k++) {\n        symMap['$' + syms[k]] = syms[k];\n      }\n    }\n    for (var key in obj) {\n      // eslint-disable-line no-restricted-syntax\n      if (!has(obj, key)) {\n        continue;\n      } // eslint-disable-line no-restricted-syntax, no-continue\n      if (isArr && String(Number(key)) === key && key < obj.length) {\n        continue;\n      } // eslint-disable-line no-restricted-syntax, no-continue\n      if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) {\n        // this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section\n        continue; // eslint-disable-line no-restricted-syntax, no-continue\n      } else if ($test.call(/[^\\w$]/, key)) {\n        xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj));\n      } else {\n        xs.push(key + ': ' + inspect(obj[key], obj));\n      }\n    }\n    if (typeof gOPS === 'function') {\n      for (var j = 0; j < syms.length; j++) {\n        if (isEnumerable.call(obj, syms[j])) {\n          xs.push('[' + inspect(syms[j]) + ']: ' + inspect(obj[syms[j]], obj));\n        }\n      }\n    }\n    return xs;\n  }\n  return objectInspect;\n}\n\nvar GetIntrinsic$3 = getIntrinsic;\nvar $TypeError$1 = GetIntrinsic$3('%TypeError%');\nvar GetV = requireGetV();\nvar IsCallable = requireIsCallable();\nvar IsPropertyKey = requireIsPropertyKey();\nvar inspect = requireObjectInspect();\n\n// https://262.ecma-international.org/6.0/#sec-getmethod\n\nvar GetMethod$1 = function GetMethod(O, P) {\n  // 7.3.9.1\n  if (!IsPropertyKey(P)) {\n    throw new $TypeError$1('Assertion failed: IsPropertyKey(P) is not true');\n  }\n\n  // 7.3.9.2\n  var func = GetV(O, P);\n\n  // 7.3.9.4\n  if (func == null) {\n    return void 0;\n  }\n\n  // 7.3.9.5\n  if (!IsCallable(func)) {\n    throw new $TypeError$1(inspect(P) + ' is not a function: ' + inspect(func));\n  }\n\n  // 7.3.9.6\n  return func;\n};\n\n// https://262.ecma-international.org/6.0/#sec-isarray\nvar IsArray$1 = IsArray$2;\n\nvar hasSymbols$1 = shams$1;\nvar shams = function hasToStringTagShams() {\n  return hasSymbols$1() && !!Symbol.toStringTag;\n};\n\nvar strValue = String.prototype.valueOf;\nvar tryStringObject = function tryStringObject(value) {\n  try {\n    strValue.call(value);\n    return true;\n  } catch (e) {\n    return false;\n  }\n};\nvar toStr = Object.prototype.toString;\nvar strClass = '[object String]';\nvar hasToStringTag = shams();\nvar isString$1 = function isString(value) {\n  if (typeof value === 'string') {\n    return true;\n  }\n  if (_typeof(value) !== 'object') {\n    return false;\n  }\n  return hasToStringTag ? tryStringObject(value) : toStr.call(value) === strClass;\n};\n\nvar hasSymbols = hasSymbols$4();\nvar GetIntrinsic$2 = getIntrinsic;\nvar callBound$1 = callBound$3;\nvar isString = isString$1;\nvar $iterator = GetIntrinsic$2('%Symbol.iterator%', true);\nvar $stringSlice = callBound$1('String.prototype.slice');\nvar $String = GetIntrinsic$2('%String%');\nvar getIteratorMethod$1 = function getIteratorMethod(ES, iterable) {\n  var usingIterator;\n  if (hasSymbols) {\n    usingIterator = ES.GetMethod(iterable, $iterator);\n  } else if (ES.IsArray(iterable)) {\n    usingIterator = function usingIterator() {\n      var i = -1;\n      var arr = this; // eslint-disable-line no-invalid-this\n      return {\n        next: function next() {\n          i += 1;\n          return {\n            done: i >= arr.length,\n            value: arr[i]\n          };\n        }\n      };\n    };\n  } else if (isString(iterable)) {\n    usingIterator = function usingIterator() {\n      var i = 0;\n      return {\n        next: function next() {\n          var nextIndex = ES.AdvanceStringIndex($String(iterable), i, true);\n          var value = $stringSlice(iterable, i, nextIndex);\n          i = nextIndex;\n          return {\n            done: nextIndex > iterable.length,\n            value: value\n          };\n        }\n      };\n    };\n  }\n  return usingIterator;\n};\n\nvar Call;\nvar hasRequiredCall;\nfunction requireCall() {\n  if (hasRequiredCall) return Call;\n  hasRequiredCall = 1;\n  var GetIntrinsic = getIntrinsic;\n  var callBound = callBound$3;\n  var $TypeError = GetIntrinsic('%TypeError%');\n  var IsArray = IsArray$1;\n  var $apply = GetIntrinsic('%Reflect.apply%', true) || callBound('Function.prototype.apply');\n\n  // https://262.ecma-international.org/6.0/#sec-call\n\n  Call = function Call(F, V) {\n    var argumentsList = arguments.length > 2 ? arguments[2] : [];\n    if (!IsArray(argumentsList)) {\n      throw new $TypeError('Assertion failed: optional `argumentsList`, if provided, must be a List');\n    }\n    return $apply(F, V, argumentsList);\n  };\n  return Call;\n}\n\nvar GetIterator$1;\nvar hasRequiredGetIterator;\nfunction requireGetIterator() {\n  if (hasRequiredGetIterator) return GetIterator$1;\n  hasRequiredGetIterator = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $TypeError = GetIntrinsic('%TypeError%');\n  var $SyntaxError = GetIntrinsic('%SyntaxError%');\n  var $asyncIterator = GetIntrinsic('%Symbol.asyncIterator%', true);\n  var inspect = requireObjectInspect();\n  var hasSymbols = hasSymbols$4();\n  var getIteratorMethod = getIteratorMethod$1;\n  var AdvanceStringIndex = AdvanceStringIndex$1;\n  var Call = requireCall();\n  var GetMethod = GetMethod$1;\n  var IsArray = IsArray$1;\n  var Type = Type$8;\n\n  // https://262.ecma-international.org/11.0/#sec-getiterator\n\n  GetIterator$1 = function GetIterator(obj, hint, method) {\n    var actualHint = hint;\n    if (arguments.length < 2) {\n      actualHint = 'sync';\n    }\n    if (actualHint !== 'sync' && actualHint !== 'async') {\n      throw new $TypeError(\"Assertion failed: `hint` must be one of 'sync' or 'async', got \" + inspect(hint));\n    }\n    var actualMethod = method;\n    if (arguments.length < 3) {\n      if (actualHint === 'async') {\n        if (hasSymbols && $asyncIterator) {\n          actualMethod = GetMethod(obj, $asyncIterator);\n        }\n        if (actualMethod === undefined) {\n          throw new $SyntaxError(\"async from sync iterators aren't currently supported\");\n        }\n      } else {\n        actualMethod = getIteratorMethod({\n          AdvanceStringIndex: AdvanceStringIndex,\n          GetMethod: GetMethod,\n          IsArray: IsArray\n        }, obj);\n      }\n    }\n    var iterator = Call(actualMethod, obj);\n    if (Type(iterator) !== 'Object') {\n      throw new $TypeError('iterator must return an object');\n    }\n    return iterator;\n\n    // TODO: This should return an IteratorRecord\n    /*\n    var nextMethod = GetV(iterator, 'next');\n    return {\n    \t'[[Iterator]]': iterator,\n    \t'[[NextMethod]]': nextMethod,\n    \t'[[Done]]': false\n    };\n    */\n  };\n\n  return GetIterator$1;\n}\n\nvar Get;\nvar hasRequiredGet;\nfunction requireGet() {\n  if (hasRequiredGet) return Get;\n  hasRequiredGet = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $TypeError = GetIntrinsic('%TypeError%');\n  var inspect = requireObjectInspect();\n  var IsPropertyKey = requireIsPropertyKey();\n  var Type = Type$8;\n\n  // https://262.ecma-international.org/6.0/#sec-get-o-p\n\n  Get = function Get(O, P) {\n    // 7.3.1.1\n    if (Type(O) !== 'Object') {\n      throw new $TypeError('Assertion failed: Type(O) is not Object');\n    }\n    // 7.3.1.2\n    if (!IsPropertyKey(P)) {\n      throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true, got ' + inspect(P));\n    }\n    // 7.3.1.3\n    return O[P];\n  };\n  return Get;\n}\n\nvar IteratorComplete;\nvar hasRequiredIteratorComplete;\nfunction requireIteratorComplete() {\n  if (hasRequiredIteratorComplete) return IteratorComplete;\n  hasRequiredIteratorComplete = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $TypeError = GetIntrinsic('%TypeError%');\n  var Get = requireGet();\n  var ToBoolean = requireToBoolean();\n  var Type = Type$8;\n\n  // https://262.ecma-international.org/6.0/#sec-iteratorcomplete\n\n  IteratorComplete = function IteratorComplete(iterResult) {\n    if (Type(iterResult) !== 'Object') {\n      throw new $TypeError('Assertion failed: Type(iterResult) is not Object');\n    }\n    return ToBoolean(Get(iterResult, 'done'));\n  };\n  return IteratorComplete;\n}\n\nvar Invoke;\nvar hasRequiredInvoke;\nfunction requireInvoke() {\n  if (hasRequiredInvoke) return Invoke;\n  hasRequiredInvoke = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $TypeError = GetIntrinsic('%TypeError%');\n  var Call = requireCall();\n  var IsArray = IsArray$1;\n  var GetV = requireGetV();\n  var IsPropertyKey = requireIsPropertyKey();\n\n  // https://262.ecma-international.org/6.0/#sec-invoke\n\n  Invoke = function Invoke(O, P) {\n    if (!IsPropertyKey(P)) {\n      throw new $TypeError('Assertion failed: P must be a Property Key');\n    }\n    var argumentsList = arguments.length > 2 ? arguments[2] : [];\n    if (!IsArray(argumentsList)) {\n      throw new $TypeError('Assertion failed: optional `argumentsList`, if provided, must be a List');\n    }\n    var func = GetV(O, P);\n    return Call(func, O, argumentsList);\n  };\n  return Invoke;\n}\n\nvar IteratorNext;\nvar hasRequiredIteratorNext;\nfunction requireIteratorNext() {\n  if (hasRequiredIteratorNext) return IteratorNext;\n  hasRequiredIteratorNext = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $TypeError = GetIntrinsic('%TypeError%');\n  var Invoke = requireInvoke();\n  var Type = Type$8;\n\n  // https://262.ecma-international.org/6.0/#sec-iteratornext\n\n  IteratorNext = function IteratorNext(iterator, value) {\n    var result = Invoke(iterator, 'next', arguments.length < 2 ? [] : [value]);\n    if (Type(result) !== 'Object') {\n      throw new $TypeError('iterator next must return an object');\n    }\n    return result;\n  };\n  return IteratorNext;\n}\n\nvar IteratorStep$1;\nvar hasRequiredIteratorStep;\nfunction requireIteratorStep() {\n  if (hasRequiredIteratorStep) return IteratorStep$1;\n  hasRequiredIteratorStep = 1;\n  var IteratorComplete = requireIteratorComplete();\n  var IteratorNext = requireIteratorNext();\n\n  // https://262.ecma-international.org/6.0/#sec-iteratorstep\n\n  IteratorStep$1 = function IteratorStep(iterator) {\n    var result = IteratorNext(iterator);\n    var done = IteratorComplete(result);\n    return done === true ? false : result;\n  };\n  return IteratorStep$1;\n}\n\nvar IteratorValue$1;\nvar hasRequiredIteratorValue;\nfunction requireIteratorValue() {\n  if (hasRequiredIteratorValue) return IteratorValue$1;\n  hasRequiredIteratorValue = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $TypeError = GetIntrinsic('%TypeError%');\n  var Get = requireGet();\n  var Type = Type$8;\n\n  // https://262.ecma-international.org/6.0/#sec-iteratorvalue\n\n  IteratorValue$1 = function IteratorValue(iterResult) {\n    if (Type(iterResult) !== 'Object') {\n      throw new $TypeError('Assertion failed: Type(iterResult) is not Object');\n    }\n    return Get(iterResult, 'value');\n  };\n  return IteratorValue$1;\n}\n\nvar callBound = callBound$3;\nvar $arrayPush = callBound('Array.prototype.push');\nvar GetIterator = requireGetIterator();\nvar IteratorStep = requireIteratorStep();\nvar IteratorValue = requireIteratorValue();\n\n// https://262.ecma-international.org/12.0/#sec-iterabletolist\n\nvar IterableToList$1 = function IterableToList(items) {\n  var iterator;\n  if (arguments.length > 1) {\n    iterator = GetIterator(items, 'sync', arguments[1]);\n  } else {\n    iterator = GetIterator(items, 'sync');\n  }\n  var values = [];\n  var next = true;\n  while (next) {\n    next = IteratorStep(iterator);\n    if (next) {\n      var nextValue = IteratorValue(next);\n      $arrayPush(values, nextValue);\n    }\n  }\n  return values;\n};\n\nvar setProto;\nvar hasRequiredSetProto;\nfunction requireSetProto() {\n  if (hasRequiredSetProto) return setProto;\n  hasRequiredSetProto = 1;\n  var GetIntrinsic = getIntrinsic;\n  var originalSetProto = GetIntrinsic('%Object.setPrototypeOf%', true);\n  var hasProto = hasProto$1();\n  setProto = originalSetProto || (hasProto ? function (O, proto) {\n    O.__proto__ = proto; // eslint-disable-line no-proto, no-param-reassign\n    return O;\n  } : null);\n  return setProto;\n}\n\nvar getProto;\nvar hasRequiredGetProto;\nfunction requireGetProto() {\n  if (hasRequiredGetProto) return getProto;\n  hasRequiredGetProto = 1;\n  var GetIntrinsic = getIntrinsic;\n  var originalGetProto = GetIntrinsic('%Object.getPrototypeOf%', true);\n  var hasProto = hasProto$1();\n  getProto = originalGetProto || (hasProto ? function (O) {\n    return O.__proto__; // eslint-disable-line no-proto\n  } : null);\n  return getProto;\n}\n\nvar OrdinaryGetPrototypeOf$1;\nvar hasRequiredOrdinaryGetPrototypeOf;\nfunction requireOrdinaryGetPrototypeOf() {\n  if (hasRequiredOrdinaryGetPrototypeOf) return OrdinaryGetPrototypeOf$1;\n  hasRequiredOrdinaryGetPrototypeOf = 1;\n  var GetIntrinsic = getIntrinsic;\n  var $TypeError = GetIntrinsic('%TypeError%');\n  var $getProto = requireGetProto();\n  var Type = Type$8;\n\n  // https://262.ecma-international.org/7.0/#sec-ordinarygetprototypeof\n\n  OrdinaryGetPrototypeOf$1 = function OrdinaryGetPrototypeOf(O) {\n    if (Type(O) !== 'Object') {\n      throw new $TypeError('Assertion failed: O must be an Object');\n    }\n    if (!$getProto) {\n      throw new $TypeError('This environment does not support fetching prototypes.');\n    }\n    return $getProto(O);\n  };\n  return OrdinaryGetPrototypeOf$1;\n}\n\nvar GetIntrinsic$1 = getIntrinsic;\nvar $TypeError = GetIntrinsic$1('%TypeError%');\nvar $setProto = requireSetProto();\nvar OrdinaryGetPrototypeOf = requireOrdinaryGetPrototypeOf();\nvar Type$1 = Type$8;\n\n// https://262.ecma-international.org/7.0/#sec-ordinarysetprototypeof\n\nvar OrdinarySetPrototypeOf$1 = function OrdinarySetPrototypeOf(O, V) {\n  if (Type$1(V) !== 'Object' && Type$1(V) !== 'Null') {\n    throw new $TypeError('Assertion failed: V must be Object or Null');\n  }\n  /*\n  var extensible = IsExtensible(O);\n  var current = OrdinaryGetPrototypeOf(O);\n  if (SameValue(V, current)) {\n  \treturn true;\n  }\n  if (!extensible) {\n  \treturn false;\n  }\n  */\n  try {\n    $setProto(O, V);\n  } catch (e) {\n    return false;\n  }\n  return OrdinaryGetPrototypeOf(O) === V;\n  /*\n  var p = V;\n  var done = false;\n  while (!done) {\n  \tif (p === null) {\n  \t\tdone = true;\n  \t} else if (SameValue(p, O)) {\n  \t\treturn false;\n  \t} else {\n  \t\tif (wat) {\n  \t\t\tdone = true;\n  \t\t} else {\n  \t\t\tp = p.[[Prototype]];\n  \t\t}\n  \t}\n  }\n  O.[[Prototype]] = V;\n  return true;\n  */\n};\n\nvar AdvanceStringIndex = AdvanceStringIndex$1;\nvar CreateDataPropertyOrThrow = CreateDataPropertyOrThrow$1;\nvar CreateMethodProperty = CreateMethodProperty$1;\nvar GetMethod = GetMethod$1;\nvar IsArray = IsArray$1;\nvar IterableToList = IterableToList$1;\nvar OrdinarySetPrototypeOf = OrdinarySetPrototypeOf$1;\nvar Type = Type$8;\nvar GetIntrinsic = getIntrinsic;\nvar getIteratorMethod = getIteratorMethod$1;\nvar hasPropertyDescriptors = hasPropertyDescriptors_1();\nvar $Error = GetIntrinsic('%Error%');\n\n// eslint-disable-next-line func-style\nfunction AggregateError$2(errors, message) {\n  var error = new $Error(message);\n  OrdinarySetPrototypeOf(error, proto); // eslint-disable-line no-use-before-define\n  delete error.constructor;\n  var errorsList = IterableToList(errors, getIteratorMethod({\n    AdvanceStringIndex: AdvanceStringIndex,\n    GetMethod: GetMethod,\n    IsArray: IsArray,\n    Type: Type\n  }, errors));\n  CreateDataPropertyOrThrow(error, 'errors', errorsList);\n  return error;\n}\nif (hasPropertyDescriptors) {\n  Object.defineProperty(AggregateError$2, 'prototype', {\n    writable: false\n  });\n}\nvar proto = AggregateError$2.prototype;\nif (!CreateMethodProperty(proto, 'constructor', AggregateError$2) || !CreateMethodProperty(proto, 'message', '') || !CreateMethodProperty(proto, 'name', 'AggregateError')) {\n  throw new $Error('unable to install AggregateError.prototype properties; please report this!');\n}\nOrdinarySetPrototypeOf(AggregateError$2.prototype, Error.prototype);\nvar implementation$5 = AggregateError$2;\n\nvar implementation$4 = implementation$5;\nvar polyfill$3 = function getPolyfill() {\n  return typeof AggregateError === 'function' ? AggregateError : implementation$4;\n};\n\nvar implementation$3 = commonjsGlobal;\n\nvar implementation$2 = implementation$3;\nvar polyfill$2 = function getPolyfill() {\n  if (_typeof(commonjsGlobal) !== 'object' || !commonjsGlobal || commonjsGlobal.Math !== Math || commonjsGlobal.Array !== Array) {\n    return implementation$2;\n  }\n  return commonjsGlobal;\n};\n\nvar define$2 = defineProperties_1;\nvar getPolyfill$3 = polyfill$2;\nvar shim$3 = function shimGlobal() {\n  var polyfill = getPolyfill$3();\n  if (define$2.supportsDescriptors) {\n    var descriptor = Object.getOwnPropertyDescriptor(polyfill, 'globalThis');\n    if (!descriptor || descriptor.configurable && (descriptor.enumerable || !descriptor.writable || globalThis !== polyfill)) {\n      // eslint-disable-line max-len\n      Object.defineProperty(polyfill, 'globalThis', {\n        configurable: true,\n        enumerable: false,\n        value: polyfill,\n        writable: true\n      });\n    }\n  } else if ((typeof globalThis === \"undefined\" ? \"undefined\" : _typeof(globalThis)) !== 'object' || globalThis !== polyfill) {\n    polyfill.globalThis = polyfill;\n  }\n  return polyfill;\n};\n\nvar defineProperties = defineProperties_1;\nvar implementation$1 = implementation$3;\nvar getPolyfill$2 = polyfill$2;\nvar shim$2 = shim$3;\nvar polyfill$1 = getPolyfill$2();\nvar getGlobal = function getGlobal() {\n  return polyfill$1;\n};\ndefineProperties(getGlobal, {\n  getPolyfill: getPolyfill$2,\n  implementation: implementation$1,\n  shim: shim$2\n});\nvar globalthis = getGlobal;\n\nvar define$1 = defineProperties_1;\nvar globalThis$1 = globalthis();\nvar getPolyfill$1 = polyfill$3;\nvar shim$1 = function shimAggregateError() {\n  var polyfill = getPolyfill$1();\n  define$1(globalThis$1, {\n    AggregateError: polyfill\n  }, {\n    AggregateError: function testAggregateError() {\n      return globalThis$1.AggregateError !== polyfill;\n    }\n  });\n  return polyfill;\n};\n\nvar bind = functionBind;\nvar define = defineProperties_1;\nvar functionsHaveConfigurableNames = functionsHaveNames_1.functionsHaveConfigurableNames();\nvar implementation = implementation$5;\nvar getPolyfill = polyfill$3;\nvar shim = shim$1;\nvar polyfill = getPolyfill();\nvar bound = bind.call(polyfill);\nif (Object.defineProperty) {\n  if (functionsHaveConfigurableNames) {\n    Object.defineProperty(bound, 'name', {\n      value: polyfill.name\n    });\n  }\n  Object.defineProperty(bound, 'prototype', {\n    value: polyfill.prototype\n  });\n}\ndefine(bound, {\n  getPolyfill: getPolyfill,\n  implementation: implementation,\n  shim: shim\n});\nvar esAggregateError = bound;\n\n/*\r\n * Copyright (c) 2021 Huawei Device Co., Ltd.\r\n * Licensed under the Apache License, Version 2.0 (the 'License');\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an 'AS IS' BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\nvar AggregateError$1 = esAggregateError;\nvar AggregateError_1 = AggregateError$1;\n\n/*\r\n * Copyright (c) 2021 Huawei Device Co., Ltd.\r\n * Licensed under the Apache License, Version 2.0 (the 'License');\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *   http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an 'AS IS' BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\nvar primordials = {\n  uncurryThis: function () {\n    var _Function$prototype = Function.prototype,\n      bind = _Function$prototype.bind,\n      call = _Function$prototype.call;\n    return bind.bind(call);\n  }(),\n  JSONParse: function JSONParse(self) {\n    return JSON.parse(self);\n  },\n  /**\r\n   * Math start\r\n   */\n  MathAbs: function MathAbs(self) {\n    return Math.abs(self);\n  },\n  //typeof Math.abs\n  MathAcos: function MathAcos(self) {\n    return Math.acos(self);\n  },\n  // typeof Math.acos\n  MathAcosh: function MathAcosh(self) {\n    return Math.acosh(self);\n  },\n  //typeof Math.acosh\n  MathAsin: function MathAsin(self) {\n    return Math.asin(self);\n  },\n  //typeof Math.asin\n  MathAsinh: function MathAsinh(self) {\n    return Math.asinh(self);\n  },\n  //typeof Math.asinh\n  MathAtan: function MathAtan(self) {\n    return Math.atan(self);\n  },\n  //typeof Math.atan\n  MathAtanh: function MathAtanh(self) {\n    return Math.atanh(self);\n  },\n  //typeof Math.atanh\n  MathAtan2: function MathAtan2(self) {\n    return Math.atan2(self);\n  },\n  //typeof Math.atan2\n  MathCeil: function MathCeil(self) {\n    return Math.ceil(self);\n  },\n  //typeof Math.ceil\n  MathCbrt: function MathCbrt(self) {\n    return Math.cbrt(self);\n  },\n  //typeof Math.cbrt\n  MathExpm1: function MathExpm1(self) {\n    return Math.expm1(self);\n  },\n  //typeof Math.expm1\n  MathClz32: function MathClz32(self) {\n    return Math.clz32(self);\n  },\n  //typeof Math.clz32\n  MathCos: function MathCos(self) {\n    return Math.cos(self);\n  },\n  //typeof Math.cos\n  MathCosh: function MathCosh(self) {\n    return Math.cosh(self);\n  },\n  //typeof Math.cosh\n  MathExp: function MathExp(self) {\n    return Math.exp(self);\n  },\n  //typeof Math.exp\n  MathFround: function MathFround(self) {\n    return Math.fround(self);\n  },\n  //typeof Math.fround\n  MathHypot: function MathHypot(self) {\n    return Math.hypot(self);\n  },\n  //typeof Math.hypot\n  MathImul: function MathImul(self) {\n    return Math.imul(self);\n  },\n  //typeof Math.imul\n  MathLog: function MathLog(self) {\n    return Math.log(self);\n  },\n  //typeof Math.log\n  MathLog1p: function MathLog1p(self) {\n    return Math.log(self);\n  },\n  //typeof Math.log1p\n  MathLog2: function MathLog2(self) {\n    return Math.log2(self);\n  },\n  //typeof Math.log2\n  MathLog10: function MathLog10(self) {\n    return Math.log10(self);\n  },\n  //typeof Math.log10\n  MathMax: function MathMax() {\n    return Math.max.apply(Math, arguments);\n  },\n  //typeof Math.max\n  MathMaxApply: function MathMaxApply(self) {\n    return Math.max.apply(null, self);\n  },\n  //StaticApply<typeof Math.max>\n  MathMin: function MathMin(self) {\n    return Math.min(self);\n  },\n  //typeof Math.min\n  MathPow: function MathPow(self) {\n    return Math.pow(self);\n  },\n  //typeof Math.pow\n  MathRandom: function MathRandom() {\n    return Math.random();\n  },\n  //typeof Math.random\n  MathRound: function MathRound(self) {\n    return Math.round(self);\n  },\n  //typeof Math.round\n  MathSign: function MathSign(self) {\n    return Math.sign(self);\n  },\n  //typeof Math.sign\n  MathSin: function MathSin(self) {\n    return Math.sin(self);\n  },\n  //typeof Math.sin\n  MathSinh: function MathSinh(self) {\n    return Math.sinh(self);\n  },\n  //typeof Math.sinh\n  MathSqrt: function MathSqrt(self) {\n    return Math.sqrt(self);\n  },\n  //typeof Math.sqrt\n  MathTan: function MathTan(self) {\n    return Math.tan(self);\n  },\n  //typeof Math.tan\n  MathTanh: function MathTanh(self) {\n    return Math.tanh(self);\n  },\n  //typeof Math.tanh\n  MathTrunc: function MathTrunc(self) {\n    return Math.trunc(self);\n  },\n  //typeof Math.trunc\n  MathE: function MathE() {\n    return Math.E;\n  },\n  //typeof Math.E\n  MathLN10: function MathLN10() {\n    return Math.LN10;\n  },\n  //typeof Math.LN10\n  MathLN2: function MathLN2() {\n    return Math.LN2;\n  },\n  //typeof Math.LN2\n  MathLOG10E: function MathLOG10E() {\n    return Math.LOG10E;\n  },\n  //typeof Math.LOG10E\n  MathLOG2E: function MathLOG2E() {\n    return Math.LOG2E;\n  },\n  //typeof Math.LOG2E\n  MathPI: function MathPI() {\n    return Math.PI;\n  },\n  //typeof Math.PI\n  MathSQRT1_2: function MathSQRT1_2() {\n    return Math.SQRT1_2;\n  },\n  //typeof Math.SQRT1_2\n  MathSQRT2: function MathSQRT2() {\n    return Math.SQRT2;\n  },\n  //typeof Math.SQRT2\n\n  /**\r\n   * Math end\r\n   */\n\n  /**\r\n   * Reflect start\r\n   */\n  ReflectDefineProperty: Reflect.defineProperty,\n  //typeof Reflect.defineProperty\n  ReflectDeleteProperty: Reflect.deleteProperty,\n  // typeof Reflect.deleteProperty\n  ReflectApply: Reflect.apply,\n  ReflectConstruct: Reflect.construct,\n  // typeof Reflect.construct\n  ReflectGet: Reflect.get,\n  // typeof Reflect.get\n  ReflectGetOwnPropertyDescriptor: Reflect.getOwnPropertyDescriptor,\n  // typeof Reflect.getOwnPropertyDescriptor\n  ReflectGetPrototypeOf: Reflect.getPrototypeOf,\n  // typeof Reflect.getPrototypeOf\n  ReflectHas: Reflect.has,\n  // typeof Reflect.has\n  ReflectIsExtensible: Reflect.isExtensible,\n  // typeof Reflect.isExtensible\n  ReflectOwnKeys: Reflect.ownKeys,\n  // typeof Reflect.ownKeys\n  ReflectPreventExtensions: Reflect.preventExtensions,\n  // typeof Reflect.preventExtensions\n  ReflectSet: Reflect.set,\n  //typeof Reflect.set\n  ReflectSetPrototypeOf: Reflect.setPrototypeOf,\n  // typeof Reflect.setPrototypeOf\n  /**\r\n   * Reflect end\r\n   */\n\n  AggregateError: AggregateError_1,\n  /**\r\n   * Array start\r\n   */\n  ArrayFrom: function ArrayFrom(self, fn) {\n    return Array.from(self, fn);\n  },\n  ArrayIsArray: function ArrayIsArray(self) {\n    return Array.isArray(self);\n  },\n  ArrayPrototypeIncludes: function ArrayPrototypeIncludes(self, el) {\n    return self.includes(el);\n  },\n  ArrayPrototypeFilter: function ArrayPrototypeFilter(self, fn) {\n    return self.filter(fn);\n  },\n  ArrayPrototypeIndexOf: function ArrayPrototypeIndexOf(self, el) {\n    return self.indexOf(el);\n  },\n  ArrayPrototypeJoin: function ArrayPrototypeJoin(self, sep) {\n    return self.join(sep);\n  },\n  ArrayPrototypeMap: function ArrayPrototypeMap(self, fn) {\n    return self.map(fn);\n  },\n  ArrayPrototypePop: function ArrayPrototypePop(self, el) {\n    return self.pop(el);\n  },\n  ArrayPrototypePush: function ArrayPrototypePush(self, el) {\n    return self.push(el);\n  },\n  ArrayPrototypeSlice: function ArrayPrototypeSlice(self, start, end) {\n    return self.slice(start, end);\n  },\n  ArrayPrototypeSplice: function ArrayPrototypeSplice(self, start, end) {\n    for (var _len = arguments.length, args = new Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {\n      args[_key - 3] = arguments[_key];\n    }\n    return self.splice.apply(self, [start, end].concat(args));\n  },\n  ArrayPrototypeUnshift: function ArrayPrototypeUnshift(self, value) {\n    return self.unshift(value);\n  },\n  /**\r\n   * Array end\r\n   */\n\n  /**\r\n   * Map start\r\n   */\n\n  MapPrototypeGet: Map.prototype.get,\n  /**\r\n   * Map end\r\n   */\n  /**\r\n   * Error start\r\n   */\n  Error: Error,\n  ErrorCaptureStackTrace: Error.captureStackTrace,\n  ErrorPrototypeToString: Error.prototype.toString,\n  RangeError: RangeError,\n  /**\r\n   * Error end\r\n   */\n\n  /**\r\n   * JSON start\r\n   */\n  JSONStringify: JSON.stringify,\n  /**\r\n   * JSON end\r\n   */\n  FunctionPrototypeCall: function FunctionPrototypeCall(fn, thisArgs) {\n    for (var _len2 = arguments.length, args = new Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {\n      args[_key2 - 2] = arguments[_key2];\n    }\n    return fn.call.apply(fn, [thisArgs].concat(args));\n  },\n  FunctionPrototypeBind: function FunctionPrototypeBind(fn, thisArgs) {\n    for (var _len3 = arguments.length, args = new Array(_len3 > 2 ? _len3 - 2 : 0), _key3 = 2; _key3 < _len3; _key3++) {\n      args[_key3 - 2] = arguments[_key3];\n    }\n    return fn.bind.apply(fn, [thisArgs].concat(args));\n  },\n  FunctionPrototypeSymbolHasInstance: function FunctionPrototypeSymbolHasInstance(self, instance) {\n    return Function.prototype[Symbol.hasInstance].call(self, instance);\n  },\n  MathFloor: Math.floor,\n  Number: Number,\n  NumberIsInteger: Number.isInteger,\n  NumberIsNaN: Number.isNaN,\n  NumberMAX_SAFE_INTEGER: Number.MAX_SAFE_INTEGER,\n  NumberMIN_SAFE_INTEGER: Number.MIN_SAFE_INTEGER,\n  NumberParseInt: Number.parseInt,\n  NumberIsFinite: Number.isFinite,\n  NumberPrototypeToString: function NumberPrototypeToString(value, radix) {\n    return value.toString(radix);\n  },\n  /**\r\n   * Object start\r\n   */\n  ObjectPrototypeHasOwnProperty: function ObjectPrototypeHasOwnProperty(self, name) {\n    return Object.prototype.hasOwnProperty.call(self, name);\n  },\n  ObjectAssign: Object.assign,\n  ObjectDefineProperties: function ObjectDefineProperties(self, props) {\n    return Object.defineProperties(self, props);\n  },\n  ObjectDefineProperty: function ObjectDefineProperty(self, name, prop) {\n    return Object.defineProperty(self, name, prop);\n  },\n  ObjectGetOwnPropertyDescriptor: function ObjectGetOwnPropertyDescriptor(self, name) {\n    return Object.getOwnPropertyDescriptor(self, name);\n  },\n  ObjectKeys: function ObjectKeys(obj) {\n    return Object.keys(obj);\n  },\n  ObjectCreate: function ObjectCreate(obj) {\n    return Object.create(obj);\n  },\n  ObjectFreeze: function ObjectFreeze(obj) {\n    return Object.freeze(obj);\n  },\n  ObjectEntries: function ObjectEntries(obj) {\n    return Object.entries(obj);\n  },\n  ObjectSetPrototypeOf: function ObjectSetPrototypeOf(target, proto) {\n    return Object.setPrototypeOf(target, proto);\n  },\n  ObjectPrototypeToString: function ObjectPrototypeToString(obj) {\n    return obj.toString();\n  },\n  ObjectPrototypePropertyIsEnumerable: function ObjectPrototypePropertyIsEnumerable(self, val) {\n    return self.propertyIsEnumerable(val);\n  },\n  ObjectIsExtensible: Object.isExtensible,\n  /**\r\n   * Object end\r\n   */\n  Promise: Promise,\n  PromisePrototypeCatch: function PromisePrototypeCatch(self, fn) {\n    return self[\"catch\"](fn);\n  },\n  PromisePrototypeThen: function PromisePrototypeThen(self, thenFn, catchFn) {\n    return self.then(thenFn, catchFn);\n  },\n  PromiseReject: function PromiseReject(err) {\n    return Promise.reject(err);\n  },\n  RegExpPrototypeTest: function RegExpPrototypeTest(self, value) {\n    return self.test(value);\n  },\n  SafeSet: Set,\n  String: String,\n  StringPrototypeSlice: function StringPrototypeSlice(self, start, end) {\n    return self.slice(start, end);\n  },\n  StringPrototypeToLowerCase: function StringPrototypeToLowerCase(self) {\n    return self.toLowerCase();\n  },\n  StringPrototypeToUpperCase: function StringPrototypeToUpperCase(self) {\n    return self.toUpperCase();\n  },\n  StringPrototypeTrim: function StringPrototypeTrim(self) {\n    return self.trim();\n  },\n  StringPrototypeCharCodeAt: function StringPrototypeCharCodeAt(value, index) {\n    return value.charCodeAt(index);\n  },\n  StringPrototypeLastIndexOf: function StringPrototypeLastIndexOf(value, separator) {\n    return value.lastIndexOf(separator);\n  },\n  StringPrototypeCharAt: function StringPrototypeCharAt(value, index) {\n    return value.charAt(index);\n  },\n  StringPrototypeIndexOf: function StringPrototypeIndexOf(value, index) {\n    return value.indexOf(index);\n  },\n  StringPrototypeStartsWith: function StringPrototypeStartsWith(value, index) {\n    return value.startsWith(index);\n  },\n  StringPrototypeIncludes: function StringPrototypeIncludes(self, value, start) {\n    return self.includes(value, start);\n  },\n  StringPrototypePadStart: function StringPrototypePadStart(self, targetLength, padString) {\n    return self.padStart(targetLength, padString);\n  },\n  StringPrototypeReplace: function StringPrototypeReplace(self, searchValue, replaceValue) {\n    return self.replace(searchValue, replaceValue);\n  },\n  DatePrototypeGetDate: function DatePrototypeGetDate(date) {\n    return date.getDate();\n  },\n  DatePrototypeGetHours: function DatePrototypeGetHours(date) {\n    return date.getHours();\n  },\n  DatePrototypeGetMinutes: function DatePrototypeGetMinutes(date) {\n    return date.getMinutes();\n  },\n  DatePrototypeGetMonth: function DatePrototypeGetMonth(date) {\n    return date.getMonth();\n  },\n  DatePrototypeGetSeconds: function DatePrototypeGetSeconds(date) {\n    return date.getSeconds();\n  },\n  Symbol: Symbol,\n  SymbolAsyncIterator: Symbol.asyncIterator,\n  SymbolHasInstance: Symbol.hasInstance,\n  SymbolIterator: Symbol.iterator,\n  TypedArrayPrototypeSet: function TypedArrayPrototypeSet(self, buf, len) {\n    return self.set(buf, len);\n  },\n  decodeURIComponent: decodeURIComponent,\n  Uint8Array: Uint8Array,\n  Int8Array: Int8Array,\n  Array: Array,\n  Date: Date\n};\n\nvar validator = {};\n\nvar nodeInternalPrefix = \"__node_internal_\";\nvar ObjectDefineProperty = primordials.ObjectDefineProperty,\n  ArrayIsArray = primordials.ArrayIsArray,\n  ArrayPrototypeIncludes = primordials.ArrayPrototypeIncludes,\n  NumberIsNaN = primordials.NumberIsNaN;\nvar hideStackFrames = function hideStackFrames(fn) {\n  // We rename the functions that will be hidden to cut off the stacktrace\n  // at the outermost one\n  var hidden = nodeInternalPrefix + fn.name;\n  ObjectDefineProperty(fn, \"name\", {\n    __proto__: null,\n    value: hidden\n  });\n  return fn;\n};\nvalidator.validateString = hideStackFrames(function (value, name) {\n  if (typeof value !== \"string\") {\n    throw new Error(\"ERR_INVALID_ARG_TYPE value:\" + value + \" name:\" + name);\n  }\n});\nvalidator.validateFunction = hideStackFrames(function (value, name) {\n  if (typeof value !== \"function\") throw new Error(\"ERR_INVALID_ARG_TYPE value:\" + value + \" name:\" + name);\n});\nvalidator.validateAbortSignal = hideStackFrames(function (signal, name) {\n  if (signal !== undefined && (signal === null || _typeof(signal) !== \"object\" || !(\"aborted\" in signal))) {\n    throw new Error(\"ERR_INVALID_ARG_TYPE value:\" + value + \" name:\" + name);\n  }\n});\nvalidator.validateObject = hideStackFrames(function (value, name, options) {\n  var useDefaultOptions = options == null;\n  var allowArray = useDefaultOptions ? false : options.allowArray;\n  var allowFunction = useDefaultOptions ? false : options.allowFunction;\n  var nullable = useDefaultOptions ? false : options.nullable;\n  if (!nullable && value === null || !allowArray && ArrayIsArray(value) || _typeof(value) !== \"object\" && (!allowFunction || typeof value !== \"function\")) {\n    throw new Error(\"ERR_INVALID_ARG_TYPE value:\" + value + \" name:\" + name);\n  }\n});\nvalidator.validateNumber = function validateNumber(value, name) {\n  var min = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : undefined;\n  var max = arguments.length > 3 ? arguments[3] : undefined;\n  if (typeof value !== \"number\") throw new Error(\"ERR_INVALID_ARG_TYPE value:\" + value + \" name:\" + name);\n  if (min != null && value < min || max != null && value > max || (min != null || max != null) && NumberIsNaN(value)) {\n    throw new Error(\"ERR_OUT_OF_RANGE, name:\" + name + \", \" + \"\".concat(min != null ? \">= \".concat(min) : \"\").concat(min != null && max != null ? \" && \" : \"\").concat(max != null ? \"<= \".concat(max) : \"\") + value);\n  }\n};\nvalidator.validateBoolean = function validateBoolean(value, name) {\n  if (typeof value !== \"boolean\") throw new Error(\"ERR_INVALID_ARG_TYPE value:\" + value + \" name:\" + name);\n};\nvalidator.validateArray = hideStackFrames(function (value, name) {\n  var minLength = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n  if (!Array.isArray(value)) {\n    throw new Error(\"Array:\" + name);\n  }\n  if (value.length < minLength) {\n    var reason = \"must be longer than \".concat(minLength);\n    throw new Error(\"ERR_INVALID_ARG_VALUE name:\" + name + \",value:\" + value + \",reason:\" + reason);\n  }\n});\nvalidator.validateUnion = function validateUnion(value, name, union) {\n  if (!ArrayPrototypeIncludes(union, value)) {\n    throw new Error(\"ERR_INVALID_ARG_TYPE, name:\" + name + \",union:\" + union + \",value:\" + value);\n  }\n};\n\n// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\nvar constants = constants$1;\nvar StringPrototypeCharCodeAt = primordials.StringPrototypeCharCodeAt,\n  StringPrototypeSlice = primordials.StringPrototypeSlice,\n  StringPrototypeLastIndexOf = primordials.StringPrototypeLastIndexOf,\n  FunctionPrototypeBind = primordials.FunctionPrototypeBind;\nvar validateString = validator.validateString,\n  validateObject = validator.validateObject;\nvar sep = \"/\";\nfunction isPathSeparator(code) {\n  return code === constants.CHAR_FORWARD_SLASH;\n}\nfunction _format(sep, pathObject) {\n  validateObject(pathObject, \"pathObject\");\n  var dir = pathObject.dir || pathObject.root;\n  var base = pathObject.base || \"\".concat(pathObject.name || \"\").concat(pathObject.ext || \"\");\n  if (!dir) {\n    return base;\n  }\n  return dir === pathObject.root ? \"\".concat(dir).concat(base) : \"\".concat(dir).concat(sep).concat(base);\n}\nfunction basename(path, ext) {\n  if (ext !== undefined) validateString(ext, \"ext\");\n  validateString(path, \"path\");\n  var start = 0;\n  var end = -1;\n  var matchedSlash = true;\n  if (ext !== undefined && ext.length > 0 && ext.length <= path.length) {\n    if (ext === path) return \"\";\n    var extIdx = ext.length - 1;\n    var firstNonSlashEnd = -1;\n    for (var i = path.length - 1; i >= start; --i) {\n      var code = StringPrototypeCharCodeAt(path, i);\n      if (isPathSeparator(code)) {\n        // If we reached a path separator that was not part of a set of path\n        // separators at the end of the string, stop now\n        if (!matchedSlash) {\n          start = i + 1;\n          break;\n        }\n      } else {\n        if (firstNonSlashEnd === -1) {\n          // We saw the first non-path separator, remember this index in case\n          // we need it if the extension ends up not matching\n          matchedSlash = false;\n          firstNonSlashEnd = i + 1;\n        }\n        if (extIdx >= 0) {\n          // Try to match the explicit extension\n          if (code === StringPrototypeCharCodeAt(ext, extIdx)) {\n            if (--extIdx === -1) {\n              // We matched the extension, so mark this as the end of our path\n              // component\n              end = i;\n            }\n          } else {\n            // Extension does not match, so our result is the entire path\n            // component\n            extIdx = -1;\n            end = firstNonSlashEnd;\n          }\n        }\n      }\n    }\n    if (start === end) end = firstNonSlashEnd;else if (end === -1) end = path.length;\n    return StringPrototypeSlice(path, start, end);\n  }\n  for (var _i = path.length - 1; _i >= start; --_i) {\n    if (isPathSeparator(StringPrototypeCharCodeAt(path, _i))) {\n      // If we reached a path separator that was not part of a set of path\n      // separators at the end of the string, stop now\n      if (!matchedSlash) {\n        start = _i + 1;\n        break;\n      }\n    } else if (end === -1) {\n      // We saw the first non-path separator, mark this as the end of our\n      // path component\n      matchedSlash = false;\n      end = _i + 1;\n    }\n  }\n  if (end === -1) return \"\";\n  return StringPrototypeSlice(path, start, end);\n}\nfunction dirname(path) {\n  validateString(path, \"path\");\n  var len = path.length;\n  if (len === 0) return \".\";\n  var rootEnd = -1;\n  var offset = 0;\n  var code = StringPrototypeCharCodeAt(path, 0);\n  if (len === 1) {\n    // `path` contains just a path separator, exit early to avoid\n    // unnecessary work or a dot.\n    return isPathSeparator(code) ? path : \".\";\n  }\n\n  // Try to match a root\n  if (isPathSeparator(code)) {\n    // Possible UNC root\n\n    rootEnd = offset = 1;\n    if (isPathSeparator(StringPrototypeCharCodeAt(path, 1))) {\n      // Matched double path separator at beginning\n      var j = 2;\n      var last = j;\n      // Match 1 or more non-path separators\n      while (j < len && !isPathSeparator(StringPrototypeCharCodeAt(path, j))) {\n        j++;\n      }\n      if (j < len && j !== last) {\n        // Matched!\n        last = j;\n        // Match 1 or more path separators\n        while (j < len && isPathSeparator(StringPrototypeCharCodeAt(path, j))) {\n          j++;\n        }\n        if (j < len && j !== last) {\n          // Matched!\n          last = j;\n          // Match 1 or more non-path separators\n          while (j < len && !isPathSeparator(StringPrototypeCharCodeAt(path, j))) {\n            j++;\n          }\n          if (j === len) {\n            // We matched a UNC root only\n            return path;\n          }\n          if (j !== last) {\n            // We matched a UNC root with leftovers\n\n            // Offset by 1 to include the separator after the UNC root to\n            // treat it as a \"normal root\" on top of a (UNC) root\n            rootEnd = offset = j + 1;\n          }\n        }\n      }\n    }\n    // Possible device root\n  }\n\n  var end = -1;\n  var matchedSlash = true;\n  for (var i = len - 1; i >= offset; --i) {\n    if (isPathSeparator(StringPrototypeCharCodeAt(path, i))) {\n      if (!matchedSlash) {\n        end = i;\n        break;\n      }\n    } else {\n      // We saw the first non-path separator\n      matchedSlash = false;\n    }\n  }\n  if (end === -1) {\n    if (rootEnd === -1) return \".\";\n    end = rootEnd;\n  }\n  return StringPrototypeSlice(path, 0, end);\n}\nfunction join() {\n  if (arguments.length === 0) return \".\";\n  var joined;\n  for (var i = 0; i < arguments.length; ++i) {\n    var arg = i < 0 || arguments.length <= i ? undefined : arguments[i];\n    validateString(arg, \"path\");\n    if (arg.length > 0) {\n      if (joined === undefined) joined = arg;else joined += \"/\".concat(arg);\n    }\n  }\n  if (joined === undefined) return \".\";\n  return normalize(joined);\n}\nfunction normalize(path) {\n  validateString(path, \"path\");\n  if (path.length === 0) return \".\";\n  var isAbsolute = StringPrototypeCharCodeAt(path, 0) === constants.CHAR_FORWARD_SLASH;\n  var trailingSeparator = StringPrototypeCharCodeAt(path, path.length - 1) === constants.CHAR_FORWARD_SLASH;\n\n  // Normalize the path\n  path = normalizeString(path, !isAbsolute, \"/\");\n  if (path.length === 0) {\n    if (isAbsolute) return \"/\";\n    return trailingSeparator ? \"./\" : \".\";\n  }\n  if (trailingSeparator) path += \"/\";\n  return isAbsolute ? \"/\".concat(path) : path;\n}\nfunction normalizeString(path, allowAboveRoot, separator) {\n  var res = \"\";\n  var lastSegmentLength = 0;\n  var lastSlash = -1;\n  var dots = 0;\n  var code = 0;\n  for (var i = 0; i <= path.length; ++i) {\n    if (i < path.length) code = StringPrototypeCharCodeAt(path, i);else if (isPathSeparator(code)) break;else code = constants.CHAR_FORWARD_SLASH;\n    if (isPathSeparator(code)) {\n      if (lastSlash === i - 1 || dots === 1) ; else if (dots === 2) {\n        if (res.length < 2 || lastSegmentLength !== 2 || StringPrototypeCharCodeAt(res, res.length - 1) !== constants.CHAR_DOT || StringPrototypeCharCodeAt(res, res.length - 2) !== constants.CHAR_DOT) {\n          if (res.length > 2) {\n            var lastSlashIndex = StringPrototypeLastIndexOf(res, separator);\n            if (lastSlashIndex === -1) {\n              res = \"\";\n              lastSegmentLength = 0;\n            } else {\n              res = StringPrototypeSlice(res, 0, lastSlashIndex);\n              lastSegmentLength = res.length - 1 - StringPrototypeLastIndexOf(res, separator);\n            }\n            lastSlash = i;\n            dots = 0;\n            continue;\n          } else if (res.length !== 0) {\n            res = \"\";\n            lastSegmentLength = 0;\n            lastSlash = i;\n            dots = 0;\n            continue;\n          }\n        }\n        if (allowAboveRoot) {\n          res += res.length > 0 ? \"\".concat(separator, \"..\") : \"..\";\n          lastSegmentLength = 2;\n        }\n      } else {\n        if (res.length > 0) res += \"\".concat(separator).concat(StringPrototypeSlice(path, lastSlash + 1, i));else res = StringPrototypeSlice(path, lastSlash + 1, i);\n        lastSegmentLength = i - lastSlash - 1;\n      }\n      lastSlash = i;\n      dots = 0;\n    } else if (code === constants.CHAR_DOT && dots !== -1) {\n      ++dots;\n    } else {\n      dots = -1;\n    }\n  }\n  return res;\n}\nfunction resolve() {\n  var resolvedPath = \"\";\n  var resolvedAbsolute = false;\n  for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) {\n    var _path = i >= 0 ? i < 0 || arguments.length <= i ? undefined : arguments[i] : sep;\n    validateString(_path, \"path\");\n\n    // Skip empty entries\n    if (_path.length === 0) {\n      continue;\n    }\n    resolvedPath = \"\".concat(_path, \"/\").concat(resolvedPath);\n    resolvedAbsolute = StringPrototypeCharCodeAt(_path, 0) === constants.CHAR_FORWARD_SLASH;\n  }\n\n  // At this point the path should be resolved to a full absolute path, but\n  // handle relative paths to be safe (might happen when process.cwd() fails)\n\n  // Normalize the path\n  resolvedPath = normalizeString(resolvedPath, !resolvedAbsolute, \"/\");\n  if (resolvedAbsolute) {\n    return \"/\".concat(resolvedPath);\n  }\n  return resolvedPath.length > 0 ? resolvedPath : \".\";\n}\nfunction isAbsolute(path) {\n  validateString(path, \"path\");\n  return path.length > 0 && StringPrototypeCharCodeAt(path, 0) === constants.CHAR_FORWARD_SLASH;\n}\nfunction relative(from, to) {\n  validateString(from, \"from\");\n  validateString(to, \"to\");\n  if (from === to) return \"\";\n\n  // Trim leading forward slashes.\n  from = resolve(from);\n  to = resolve(to);\n  if (from === to) return \"\";\n  var fromStart = 1;\n  var fromEnd = from.length;\n  var fromLen = fromEnd - fromStart;\n  var toStart = 1;\n  var toLen = to.length - toStart;\n\n  // Compare paths to find the longest common path from root\n  var length = fromLen < toLen ? fromLen : toLen;\n  var lastCommonSep = -1;\n  var i = 0;\n  for (; i < length; i++) {\n    var fromCode = StringPrototypeCharCodeAt(from, fromStart + i);\n    if (fromCode !== StringPrototypeCharCodeAt(to, toStart + i)) break;else if (fromCode === constants.CHAR_FORWARD_SLASH) lastCommonSep = i;\n  }\n  if (i === length) {\n    if (toLen > length) {\n      if (StringPrototypeCharCodeAt(to, toStart + i) === constants.CHAR_FORWARD_SLASH) {\n        // We get here if `from` is the exact base path for `to`.\n        // For example: from='/foo/bar'; to='/foo/bar/baz'\n        return StringPrototypeSlice(to, toStart + i + 1);\n      }\n      if (i === 0) {\n        // We get here if `from` is the root\n        // For example: from='/'; to='/foo'\n        return StringPrototypeSlice(to, toStart + i);\n      }\n    } else if (fromLen > length) {\n      if (StringPrototypeCharCodeAt(from, fromStart + i) === constants.CHAR_FORWARD_SLASH) {\n        // We get here if `to` is the exact base path for `from`.\n        // For example: from='/foo/bar/baz'; to='/foo/bar'\n        lastCommonSep = i;\n      } else if (i === 0) {\n        // We get here if `to` is the root.\n        // For example: from='/foo/bar'; to='/'\n        lastCommonSep = 0;\n      }\n    }\n  }\n  var out = \"\";\n  // Generate the relative path based on the path difference between `to`\n  // and `from`.\n  for (i = fromStart + lastCommonSep + 1; i <= fromEnd; ++i) {\n    if (i === fromEnd || StringPrototypeCharCodeAt(from, i) === constants.CHAR_FORWARD_SLASH) {\n      out += out.length === 0 ? \"..\" : \"/..\";\n    }\n  }\n\n  // Lastly, append the rest of the destination (`to`) path that comes after\n  // the common path parts.\n  return \"\".concat(out).concat(StringPrototypeSlice(to, toStart + lastCommonSep));\n}\nfunction extname(path) {\n  validateString(path, \"path\");\n  var startDot = -1;\n  var startPart = 0;\n  var end = -1;\n  var matchedSlash = true;\n  // Track the state of characters (if any) we see before our first dot and\n  // after any path separator we find\n  var preDotState = 0;\n  for (var i = path.length - 1; i >= 0; --i) {\n    path.charcode;\n    var code = StringPrototypeCharCodeAt(path, i);\n    if (code === constants.CHAR_FORWARD_SLASH) {\n      // If we reached a path separator that was not part of a set of path\n      // separators at the end of the string, stop now\n      if (!matchedSlash) {\n        startPart = i + 1;\n        break;\n      }\n      continue;\n    }\n    if (end === -1) {\n      // We saw the first non-path separator, mark this as the end of our\n      // extension\n      matchedSlash = false;\n      end = i + 1;\n    }\n    if (code === constants.CHAR_DOT) {\n      // If this is our first dot, mark it as the start of our extension\n      if (startDot === -1) startDot = i;else if (preDotState !== 1) preDotState = 1;\n    } else if (startDot !== -1) {\n      // We saw a non-dot and non-path separator before our dot, so we should\n      // have a good chance at having a non-empty extension\n      preDotState = -1;\n    }\n  }\n  if (startDot === -1 || end === -1 ||\n  // We saw a non-dot character immediately before the dot\n  preDotState === 0 ||\n  // The (right-most) trimmed path component is exactly '..'\n  preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {\n    return \"\";\n  }\n  return StringPrototypeSlice(path, startDot, end);\n}\nvar format = FunctionPrototypeBind(_format, null, \"/\");\nfunction parse(path) {\n  validateString(path, \"path\");\n  var ret = {\n    root: \"\",\n    dir: \"\",\n    base: \"\",\n    ext: \"\",\n    name: \"\"\n  };\n  if (path.length === 0) return ret;\n  var isAbsolute = StringPrototypeCharCodeAt(path, 0) === constants.CHAR_FORWARD_SLASH;\n  var start;\n  if (isAbsolute) {\n    ret.root = \"/\";\n    start = 1;\n  } else {\n    start = 0;\n  }\n  var startDot = -1;\n  var startPart = 0;\n  var end = -1;\n  var matchedSlash = true;\n  var i = path.length - 1;\n\n  // Track the state of characters (if any) we see before our first dot and\n  // after any path separator we find\n  var preDotState = 0;\n\n  // Get non-dir info\n  for (; i >= start; --i) {\n    var code = StringPrototypeCharCodeAt(path, i);\n    if (code === constants.CHAR_FORWARD_SLASH) {\n      // If we reached a path separator that was not part of a set of path\n      // separators at the end of the string, stop now\n      if (!matchedSlash) {\n        startPart = i + 1;\n        break;\n      }\n      continue;\n    }\n    if (end === -1) {\n      // We saw the first non-path separator, mark this as the end of our\n      // extension\n      matchedSlash = false;\n      end = i + 1;\n    }\n    if (code === constants.CHAR_DOT) {\n      // If this is our first dot, mark it as the start of our extension\n      if (startDot === -1) startDot = i;else if (preDotState !== 1) preDotState = 1;\n    } else if (startDot !== -1) {\n      // We saw a non-dot and non-path separator before our dot, so we should\n      // have a good chance at having a non-empty extension\n      preDotState = -1;\n    }\n  }\n  if (end !== -1) {\n    var _start = startPart === 0 && isAbsolute ? 1 : startPart;\n    if (startDot === -1 ||\n    // We saw a non-dot character immediately before the dot\n    preDotState === 0 ||\n    // The (right-most) trimmed path component is exactly '..'\n    preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {\n      ret.base = ret.name = StringPrototypeSlice(path, _start, end);\n    } else {\n      ret.name = StringPrototypeSlice(path, _start, startDot);\n      ret.base = StringPrototypeSlice(path, _start, end);\n      ret.ext = StringPrototypeSlice(path, startDot, end);\n    }\n  }\n  if (startPart > 0) ret.dir = StringPrototypeSlice(path, 0, startPart - 1);else if (isAbsolute) ret.dir = \"/\";\n  return ret;\n}\nvar path = {\n  basename: basename,\n  dirname: dirname,\n  extname: extname,\n  format: format,\n  parse: parse,\n  sep: sep,\n  join: join,\n  resolve: resolve,\n  isAbsolute: isAbsolute,\n  relative: relative,\n  normalize: normalize\n};\nvar index = /*@__PURE__*/getDefaultExportFromCjs(path);\n\nexport { index as default };\n","net.js":"import { EventEmitter } from 'events';\nimport socket from '@ohos.net.socket';\nimport connection from '@ohos.net.connection';\nimport buffer from '@ohos.buffer';\n\nfunction _regeneratorRuntime() {\n  _regeneratorRuntime = function () {\n    return exports;\n  };\n  var exports = {},\n    Op = Object.prototype,\n    hasOwn = Op.hasOwnProperty,\n    defineProperty = Object.defineProperty || function (obj, key, desc) {\n      obj[key] = desc.value;\n    },\n    $Symbol = \"function\" == typeof Symbol ? Symbol : {},\n    iteratorSymbol = $Symbol.iterator || \"@@iterator\",\n    asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\",\n    toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n  function define(obj, key, value) {\n    return Object.defineProperty(obj, key, {\n      value: value,\n      enumerable: !0,\n      configurable: !0,\n      writable: !0\n    }), obj[key];\n  }\n  try {\n    define({}, \"\");\n  } catch (err) {\n    define = function (obj, key, value) {\n      return obj[key] = value;\n    };\n  }\n  function wrap(innerFn, outerFn, self, tryLocsList) {\n    var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,\n      generator = Object.create(protoGenerator.prototype),\n      context = new Context(tryLocsList || []);\n    return defineProperty(generator, \"_invoke\", {\n      value: makeInvokeMethod(innerFn, self, context)\n    }), generator;\n  }\n  function tryCatch(fn, obj, arg) {\n    try {\n      return {\n        type: \"normal\",\n        arg: fn.call(obj, arg)\n      };\n    } catch (err) {\n      return {\n        type: \"throw\",\n        arg: err\n      };\n    }\n  }\n  exports.wrap = wrap;\n  var ContinueSentinel = {};\n  function Generator() {}\n  function GeneratorFunction() {}\n  function GeneratorFunctionPrototype() {}\n  var IteratorPrototype = {};\n  define(IteratorPrototype, iteratorSymbol, function () {\n    return this;\n  });\n  var getProto = Object.getPrototypeOf,\n    NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n  NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);\n  var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);\n  function defineIteratorMethods(prototype) {\n    [\"next\", \"throw\", \"return\"].forEach(function (method) {\n      define(prototype, method, function (arg) {\n        return this._invoke(method, arg);\n      });\n    });\n  }\n  function AsyncIterator(generator, PromiseImpl) {\n    function invoke(method, arg, resolve, reject) {\n      var record = tryCatch(generator[method], generator, arg);\n      if (\"throw\" !== record.type) {\n        var result = record.arg,\n          value = result.value;\n        return value && \"object\" == typeof value && hasOwn.call(value, \"__await\") ? PromiseImpl.resolve(value.__await).then(function (value) {\n          invoke(\"next\", value, resolve, reject);\n        }, function (err) {\n          invoke(\"throw\", err, resolve, reject);\n        }) : PromiseImpl.resolve(value).then(function (unwrapped) {\n          result.value = unwrapped, resolve(result);\n        }, function (error) {\n          return invoke(\"throw\", error, resolve, reject);\n        });\n      }\n      reject(record.arg);\n    }\n    var previousPromise;\n    defineProperty(this, \"_invoke\", {\n      value: function (method, arg) {\n        function callInvokeWithMethodAndArg() {\n          return new PromiseImpl(function (resolve, reject) {\n            invoke(method, arg, resolve, reject);\n          });\n        }\n        return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();\n      }\n    });\n  }\n  function makeInvokeMethod(innerFn, self, context) {\n    var state = \"suspendedStart\";\n    return function (method, arg) {\n      if (\"executing\" === state) throw new Error(\"Generator is already running\");\n      if (\"completed\" === state) {\n        if (\"throw\" === method) throw arg;\n        return doneResult();\n      }\n      for (context.method = method, context.arg = arg;;) {\n        var delegate = context.delegate;\n        if (delegate) {\n          var delegateResult = maybeInvokeDelegate(delegate, context);\n          if (delegateResult) {\n            if (delegateResult === ContinueSentinel) continue;\n            return delegateResult;\n          }\n        }\n        if (\"next\" === context.method) context.sent = context._sent = context.arg;else if (\"throw\" === context.method) {\n          if (\"suspendedStart\" === state) throw state = \"completed\", context.arg;\n          context.dispatchException(context.arg);\n        } else \"return\" === context.method && context.abrupt(\"return\", context.arg);\n        state = \"executing\";\n        var record = tryCatch(innerFn, self, context);\n        if (\"normal\" === record.type) {\n          if (state = context.done ? \"completed\" : \"suspendedYield\", record.arg === ContinueSentinel) continue;\n          return {\n            value: record.arg,\n            done: context.done\n          };\n        }\n        \"throw\" === record.type && (state = \"completed\", context.method = \"throw\", context.arg = record.arg);\n      }\n    };\n  }\n  function maybeInvokeDelegate(delegate, context) {\n    var methodName = context.method,\n      method = delegate.iterator[methodName];\n    if (undefined === method) return context.delegate = null, \"throw\" === methodName && delegate.iterator.return && (context.method = \"return\", context.arg = undefined, maybeInvokeDelegate(delegate, context), \"throw\" === context.method) || \"return\" !== methodName && (context.method = \"throw\", context.arg = new TypeError(\"The iterator does not provide a '\" + methodName + \"' method\")), ContinueSentinel;\n    var record = tryCatch(method, delegate.iterator, context.arg);\n    if (\"throw\" === record.type) return context.method = \"throw\", context.arg = record.arg, context.delegate = null, ContinueSentinel;\n    var info = record.arg;\n    return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, \"return\" !== context.method && (context.method = \"next\", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = \"throw\", context.arg = new TypeError(\"iterator result is not an object\"), context.delegate = null, ContinueSentinel);\n  }\n  function pushTryEntry(locs) {\n    var entry = {\n      tryLoc: locs[0]\n    };\n    1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);\n  }\n  function resetTryEntry(entry) {\n    var record = entry.completion || {};\n    record.type = \"normal\", delete record.arg, entry.completion = record;\n  }\n  function Context(tryLocsList) {\n    this.tryEntries = [{\n      tryLoc: \"root\"\n    }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);\n  }\n  function values(iterable) {\n    if (iterable) {\n      var iteratorMethod = iterable[iteratorSymbol];\n      if (iteratorMethod) return iteratorMethod.call(iterable);\n      if (\"function\" == typeof iterable.next) return iterable;\n      if (!isNaN(iterable.length)) {\n        var i = -1,\n          next = function next() {\n            for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;\n            return next.value = undefined, next.done = !0, next;\n          };\n        return next.next = next;\n      }\n    }\n    return {\n      next: doneResult\n    };\n  }\n  function doneResult() {\n    return {\n      value: undefined,\n      done: !0\n    };\n  }\n  return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, \"constructor\", {\n    value: GeneratorFunctionPrototype,\n    configurable: !0\n  }), defineProperty(GeneratorFunctionPrototype, \"constructor\", {\n    value: GeneratorFunction,\n    configurable: !0\n  }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, \"GeneratorFunction\"), exports.isGeneratorFunction = function (genFun) {\n    var ctor = \"function\" == typeof genFun && genFun.constructor;\n    return !!ctor && (ctor === GeneratorFunction || \"GeneratorFunction\" === (ctor.displayName || ctor.name));\n  }, exports.mark = function (genFun) {\n    return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, \"GeneratorFunction\")), genFun.prototype = Object.create(Gp), genFun;\n  }, exports.awrap = function (arg) {\n    return {\n      __await: arg\n    };\n  }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {\n    return this;\n  }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {\n    void 0 === PromiseImpl && (PromiseImpl = Promise);\n    var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);\n    return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {\n      return result.done ? result.value : iter.next();\n    });\n  }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, \"Generator\"), define(Gp, iteratorSymbol, function () {\n    return this;\n  }), define(Gp, \"toString\", function () {\n    return \"[object Generator]\";\n  }), exports.keys = function (val) {\n    var object = Object(val),\n      keys = [];\n    for (var key in object) keys.push(key);\n    return keys.reverse(), function next() {\n      for (; keys.length;) {\n        var key = keys.pop();\n        if (key in object) return next.value = key, next.done = !1, next;\n      }\n      return next.done = !0, next;\n    };\n  }, exports.values = values, Context.prototype = {\n    constructor: Context,\n    reset: function (skipTempReset) {\n      if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = \"next\", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) \"t\" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);\n    },\n    stop: function () {\n      this.done = !0;\n      var rootRecord = this.tryEntries[0].completion;\n      if (\"throw\" === rootRecord.type) throw rootRecord.arg;\n      return this.rval;\n    },\n    dispatchException: function (exception) {\n      if (this.done) throw exception;\n      var context = this;\n      function handle(loc, caught) {\n        return record.type = \"throw\", record.arg = exception, context.next = loc, caught && (context.method = \"next\", context.arg = undefined), !!caught;\n      }\n      for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n        var entry = this.tryEntries[i],\n          record = entry.completion;\n        if (\"root\" === entry.tryLoc) return handle(\"end\");\n        if (entry.tryLoc <= this.prev) {\n          var hasCatch = hasOwn.call(entry, \"catchLoc\"),\n            hasFinally = hasOwn.call(entry, \"finallyLoc\");\n          if (hasCatch && hasFinally) {\n            if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);\n            if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);\n          } else if (hasCatch) {\n            if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);\n          } else {\n            if (!hasFinally) throw new Error(\"try statement without catch or finally\");\n            if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);\n          }\n        }\n      }\n    },\n    abrupt: function (type, arg) {\n      for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n        var entry = this.tryEntries[i];\n        if (entry.tryLoc <= this.prev && hasOwn.call(entry, \"finallyLoc\") && this.prev < entry.finallyLoc) {\n          var finallyEntry = entry;\n          break;\n        }\n      }\n      finallyEntry && (\"break\" === type || \"continue\" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);\n      var record = finallyEntry ? finallyEntry.completion : {};\n      return record.type = type, record.arg = arg, finallyEntry ? (this.method = \"next\", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);\n    },\n    complete: function (record, afterLoc) {\n      if (\"throw\" === record.type) throw record.arg;\n      return \"break\" === record.type || \"continue\" === record.type ? this.next = record.arg : \"return\" === record.type ? (this.rval = this.arg = record.arg, this.method = \"return\", this.next = \"end\") : \"normal\" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;\n    },\n    finish: function (finallyLoc) {\n      for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n        var entry = this.tryEntries[i];\n        if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;\n      }\n    },\n    catch: function (tryLoc) {\n      for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n        var entry = this.tryEntries[i];\n        if (entry.tryLoc === tryLoc) {\n          var record = entry.completion;\n          if (\"throw\" === record.type) {\n            var thrown = record.arg;\n            resetTryEntry(entry);\n          }\n          return thrown;\n        }\n      }\n      throw new Error(\"illegal catch attempt\");\n    },\n    delegateYield: function (iterable, resultName, nextLoc) {\n      return this.delegate = {\n        iterator: values(iterable),\n        resultName: resultName,\n        nextLoc: nextLoc\n      }, \"next\" === this.method && (this.arg = undefined), ContinueSentinel;\n    }\n  }, exports;\n}\nfunction asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n  try {\n    var info = gen[key](arg);\n    var value = info.value;\n  } catch (error) {\n    reject(error);\n    return;\n  }\n  if (info.done) {\n    resolve(value);\n  } else {\n    Promise.resolve(value).then(_next, _throw);\n  }\n}\nfunction _asyncToGenerator(fn) {\n  return function () {\n    var self = this,\n      args = arguments;\n    return new Promise(function (resolve, reject) {\n      var gen = fn.apply(self, args);\n      function _next(value) {\n        asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n      }\n      function _throw(err) {\n        asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n      }\n      _next(undefined);\n    });\n  };\n}\nfunction _classCallCheck(instance, Constructor) {\n  if (!(instance instanceof Constructor)) {\n    throw new TypeError(\"Cannot call a class as a function\");\n  }\n}\nfunction _defineProperties(target, props) {\n  for (var i = 0; i < props.length; i++) {\n    var descriptor = props[i];\n    descriptor.enumerable = descriptor.enumerable || false;\n    descriptor.configurable = true;\n    if (\"value\" in descriptor) descriptor.writable = true;\n    Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);\n  }\n}\nfunction _createClass(Constructor, protoProps, staticProps) {\n  if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n  if (staticProps) _defineProperties(Constructor, staticProps);\n  Object.defineProperty(Constructor, \"prototype\", {\n    writable: false\n  });\n  return Constructor;\n}\nfunction _defineProperty(obj, key, value) {\n  key = _toPropertyKey(key);\n  if (key in obj) {\n    Object.defineProperty(obj, key, {\n      value: value,\n      enumerable: true,\n      configurable: true,\n      writable: true\n    });\n  } else {\n    obj[key] = value;\n  }\n  return obj;\n}\nfunction _inherits(subClass, superClass) {\n  if (typeof superClass !== \"function\" && superClass !== null) {\n    throw new TypeError(\"Super expression must either be null or a function\");\n  }\n  subClass.prototype = Object.create(superClass && superClass.prototype, {\n    constructor: {\n      value: subClass,\n      writable: true,\n      configurable: true\n    }\n  });\n  Object.defineProperty(subClass, \"prototype\", {\n    writable: false\n  });\n  if (superClass) _setPrototypeOf(subClass, superClass);\n}\nfunction _getPrototypeOf(o) {\n  _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n    return o.__proto__ || Object.getPrototypeOf(o);\n  };\n  return _getPrototypeOf(o);\n}\nfunction _setPrototypeOf(o, p) {\n  _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n    o.__proto__ = p;\n    return o;\n  };\n  return _setPrototypeOf(o, p);\n}\nfunction _isNativeReflectConstruct() {\n  if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n  if (Reflect.construct.sham) return false;\n  if (typeof Proxy === \"function\") return true;\n  try {\n    Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n    return true;\n  } catch (e) {\n    return false;\n  }\n}\nfunction _assertThisInitialized(self) {\n  if (self === void 0) {\n    throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n  }\n  return self;\n}\nfunction _possibleConstructorReturn(self, call) {\n  if (call && (typeof call === \"object\" || typeof call === \"function\")) {\n    return call;\n  } else if (call !== void 0) {\n    throw new TypeError(\"Derived constructors may only return object or undefined\");\n  }\n  return _assertThisInitialized(self);\n}\nfunction _createSuper(Derived) {\n  var hasNativeReflectConstruct = _isNativeReflectConstruct();\n  return function _createSuperInternal() {\n    var Super = _getPrototypeOf(Derived),\n      result;\n    if (hasNativeReflectConstruct) {\n      var NewTarget = _getPrototypeOf(this).constructor;\n      result = Reflect.construct(Super, arguments, NewTarget);\n    } else {\n      result = Super.apply(this, arguments);\n    }\n    return _possibleConstructorReturn(this, result);\n  };\n}\nfunction _toPrimitive(input, hint) {\n  if (typeof input !== \"object\" || input === null) return input;\n  var prim = input[Symbol.toPrimitive];\n  if (prim !== undefined) {\n    var res = prim.call(input, hint || \"default\");\n    if (typeof res !== \"object\") return res;\n    throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n  }\n  return (hint === \"string\" ? String : Number)(input);\n}\nfunction _toPropertyKey(arg) {\n  var key = _toPrimitive(arg, \"string\");\n  return typeof key === \"symbol\" ? key : String(key);\n}\n\nvar tag = \"dudu---\";\nvar OhosTcpSocket = /*#__PURE__*/function () {\n  function OhosTcpSocket(options) {\n    _classCallCheck(this, OhosTcpSocket);\n    _defineProperty(this, \"tcp_socket\", void 0);\n    // TcpSocket实例\n    _defineProperty(this, \"options\", void 0);\n    //配置\n    _defineProperty(this, \"net_handle\", void 0);\n    //网络句柄\n    _defineProperty(this, \"net_address\", void 0);\n    //网络地址\n    _defineProperty(this, \"connecting\", void 0);\n    this.tcp_socket = socket.constructTCPSocketInstance();\n    this.options = options;\n  }\n  _createClass(OhosTcpSocket, [{\n    key: \"getDefaultNet\",\n    value: function () {\n      var _getDefaultNet = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {\n        return _regeneratorRuntime().wrap(function _callee$(_context) {\n          while (1) switch (_context.prev = _context.next) {\n            case 0:\n              _context.next = 2;\n              return connection.getDefaultNet();\n            case 2:\n              this.net_handle = _context.sent;\n              return _context.abrupt(\"return\", this);\n            case 4:\n            case \"end\":\n              return _context.stop();\n          }\n        }, _callee, this);\n      }));\n      function getDefaultNet() {\n        return _getDefaultNet.apply(this, arguments);\n      }\n      return getDefaultNet;\n    }()\n  }, {\n    key: \"getConnectionProperties\",\n    value: function () {\n      var _getConnectionProperties = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {\n        var res;\n        return _regeneratorRuntime().wrap(function _callee2$(_context2) {\n          while (1) switch (_context2.prev = _context2.next) {\n            case 0:\n              _context2.next = 2;\n              return connection.getConnectionProperties(this.net_handle);\n            case 2:\n              res = _context2.sent;\n              if (!(!res || !res.linkAddresses || res.linkAddresses.length === 0)) {\n                _context2.next = 5;\n                break;\n              }\n              return _context2.abrupt(\"return\");\n            case 5:\n              this.net_address = res.linkAddresses[0].address;\n              return _context2.abrupt(\"return\", this);\n            case 7:\n            case \"end\":\n              return _context2.stop();\n          }\n        }, _callee2, this);\n      }));\n      function getConnectionProperties() {\n        return _getConnectionProperties.apply(this, arguments);\n      }\n      return getConnectionProperties;\n    }()\n  }, {\n    key: \"bind\",\n    value: function () {\n      var _bind = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {\n        return _regeneratorRuntime().wrap(function _callee3$(_context3) {\n          while (1) switch (_context3.prev = _context3.next) {\n            case 0:\n              _context3.next = 2;\n              return this.tcp_socket.bind(this.net_address);\n            case 2:\n              return _context3.abrupt(\"return\", this);\n            case 3:\n            case \"end\":\n              return _context3.stop();\n          }\n        }, _callee3, this);\n      }));\n      function bind() {\n        return _bind.apply(this, arguments);\n      }\n      return bind;\n    }()\n  }, {\n    key: \"connect\",\n    value: function () {\n      var _connect = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {\n        return _regeneratorRuntime().wrap(function _callee4$(_context4) {\n          while (1) switch (_context4.prev = _context4.next) {\n            case 0:\n              _context4.next = 2;\n              return this.tcp_socket.connect({\n                address: {\n                  address: this.options.host,\n                  port: this.options.port,\n                  family: 1\n                },\n                timeout: 6000\n              });\n            case 2:\n              return _context4.abrupt(\"return\", this);\n            case 3:\n            case \"end\":\n              return _context4.stop();\n          }\n        }, _callee4, this);\n      }));\n      function connect() {\n        return _connect.apply(this, arguments);\n      }\n      return connect;\n    }()\n  }]);\n  return OhosTcpSocket;\n}();\nvar Socket = /*#__PURE__*/function (_EventEmitter) {\n  _inherits(Socket, _EventEmitter);\n  var _super = _createSuper(Socket);\n  function Socket(options) {\n    var _this;\n    _classCallCheck(this, Socket);\n    _this = _super.call(this);\n    _defineProperty(_assertThisInitialized(_this), \"ohos_tcp_socket\", void 0);\n    _this.options = options;\n    _this.ohos_tcp_socket = new OhosTcpSocket(options);\n    _this.ohos_tcp_socket.tcp_socket.on(\"message\", function (data) {\n      console.log(tag + \"\\u670D\\u52A1\\u7AEF\\u53D1\\u6765\\u6D88\\u606F :\".concat(buffer.from(data.message).toString()));\n      _this.emit(\"data\", buffer.from(data.message).toString());\n    });\n    return _this;\n  }\n  _createClass(Socket, [{\n    key: \"connect\",\n    value: function () {\n      var _connect2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5() {\n        return _regeneratorRuntime().wrap(function _callee5$(_context5) {\n          while (1) switch (_context5.prev = _context5.next) {\n            case 0:\n              _context5.prev = 0;\n              this.ohos_tcp_socket.connecting = true;\n              _context5.next = 4;\n              return this.ohos_tcp_socket.getDefaultNet();\n            case 4:\n              console.log(tag + \"getDefaultNet \\u6210\\u529F\");\n              _context5.next = 7;\n              return this.ohos_tcp_socket.getConnectionProperties();\n            case 7:\n              console.log(tag + \"getConnectionProperties \\u6210\\u529F\");\n              _context5.next = 10;\n              return this.ohos_tcp_socket.bind();\n            case 10:\n              console.log(tag + \"bind \\u6210\\u529F\");\n              _context5.next = 13;\n              return this.ohos_tcp_socket.connect();\n            case 13:\n              console.log(tag + \"connect \\u6210\\u529F\");\n              this.ohos_tcp_socket.connecting = false;\n              this.emit(\"connect\");\n              _context5.next = 23;\n              break;\n            case 18:\n              _context5.prev = 18;\n              _context5.t0 = _context5[\"catch\"](0);\n              console.log(tag + \"connect \\u51FA\\u73B0\\u5F02\\u5E38 \".concat(JSON.stringify(_context5.t0)));\n              this.ohos_tcp_socket.connecting = false;\n              this.emit(\"error\", _context5.t0);\n            case 23:\n            case \"end\":\n              return _context5.stop();\n          }\n        }, _callee5, this, [[0, 18]]);\n      }));\n      function connect() {\n        return _connect2.apply(this, arguments);\n      }\n      return connect;\n    }()\n  }, {\n    key: \"write\",\n    value: function write(data, encoding, cb) {\n      var _this2 = this;\n      console.log(tag + \"write \\u5F00\\u59CB\\u53D1\\u9001\\u6D88\\u606F\");\n      if (this.ohos_tcp_socket.connecting) {\n        console.log(tag + \"\\u8FDB\\u5165\\u7F13\\u51B2\\u961F\\u5217\");\n        this.once(\"connect\", function () {\n          _this2.write(data, encoding, cb);\n        });\n      } else {\n        console.log(tag + \"write \\u771F\\u6B63\\u53D1\\u9001\\u4E00\\u6761\\u6D88\\u606F\" + data);\n        this.ohos_tcp_socket.tcp_socket.send({\n          data: data,\n          encoding: encoding\n        }, cb);\n      }\n    }\n  }, {\n    key: \"end\",\n    value: function end() {}\n  }, {\n    key: \"destroy\",\n    value: function destroy() {}\n  }, {\n    key: \"removeAllListeners\",\n    value: function removeAllListeners() {}\n  }, {\n    key: \"unref\",\n    value: function unref() {}\n  }]);\n  return Socket;\n}(EventEmitter);\nfunction createConnection(port, host, connectionListener) {\n  var socket = new Socket({\n    port: port,\n    host: host,\n    connectionListener: connectionListener\n  });\n  socket.connect();\n  return socket;\n}\n\nexport { createConnection };\n","events.js":"function _typeof(obj) {\n  \"@babel/helpers - typeof\";\n\n  return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n    return typeof obj;\n  } : function (obj) {\n    return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n  }, _typeof(obj);\n}\n\nfunction getDefaultExportFromCjs (x) {\n\treturn x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;\n}\n\nvar events = {exports: {}};\n\n// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\nvar R = (typeof Reflect === \"undefined\" ? \"undefined\" : _typeof(Reflect)) === \"object\" ? Reflect : null;\nvar ReflectApply = R && typeof R.apply === \"function\" ? R.apply : function ReflectApply(target, receiver, args) {\n  return Function.prototype.apply.call(target, receiver, args);\n};\nvar ReflectOwnKeys;\nif (R && typeof R.ownKeys === \"function\") {\n  ReflectOwnKeys = R.ownKeys;\n} else if (Object.getOwnPropertySymbols) {\n  ReflectOwnKeys = function ReflectOwnKeys(target) {\n    return Object.getOwnPropertyNames(target).concat(Object.getOwnPropertySymbols(target));\n  };\n} else {\n  ReflectOwnKeys = function ReflectOwnKeys(target) {\n    return Object.getOwnPropertyNames(target);\n  };\n}\nfunction ProcessEmitWarning(warning) {\n  if (console && console.warn) console.warn(warning);\n}\nvar NumberIsNaN = Number.isNaN || function NumberIsNaN(value) {\n  return value !== value;\n};\nfunction EventEmitter() {\n  EventEmitter.init.call(this);\n}\nvar EventEmitter_1 = events.exports.EventEmitter = EventEmitter;\nevents.exports = EventEmitter;\nvar once_1 = events.exports.once = once;\n\n// Backwards-compat with node 0.10.x\nEventEmitter.EventEmitter = EventEmitter;\nEventEmitter.prototype._events = undefined;\nEventEmitter.prototype._eventsCount = 0;\nEventEmitter.prototype._maxListeners = undefined;\n\n// By default EventEmitters will print a warning if more than 10 listeners are\n// added to it. This is a useful default which helps finding memory leaks.\nvar defaultMaxListeners = 10;\nfunction checkListener(listener) {\n  if (typeof listener !== \"function\") {\n    throw new TypeError('The \"listener\" argument must be of type Function. Received type ' + _typeof(listener));\n  }\n}\nObject.defineProperty(EventEmitter, \"defaultMaxListeners\", {\n  enumerable: true,\n  get: function get() {\n    return defaultMaxListeners;\n  },\n  set: function set(arg) {\n    if (typeof arg !== \"number\" || arg < 0 || NumberIsNaN(arg)) {\n      throw new RangeError('The value of \"defaultMaxListeners\" is out of range. It must be a non-negative number. Received ' + arg + \".\");\n    }\n    defaultMaxListeners = arg;\n  }\n});\nEventEmitter.init = function () {\n  if (this._events === undefined || this._events === Object.getPrototypeOf(this)._events) {\n    this._events = Object.create(null);\n    this._eventsCount = 0;\n  }\n  this._maxListeners = this._maxListeners || undefined;\n};\n\n// Obviously not all Emitters should be limited to 10. This function allows\n// that to be increased. Set to zero for unlimited.\nEventEmitter.prototype.setMaxListeners = function setMaxListeners(n) {\n  if (typeof n !== \"number\" || n < 0 || NumberIsNaN(n)) {\n    throw new RangeError('The value of \"n\" is out of range. It must be a non-negative number. Received ' + n + \".\");\n  }\n  this._maxListeners = n;\n  return this;\n};\nfunction _getMaxListeners(that) {\n  if (that._maxListeners === undefined) return EventEmitter.defaultMaxListeners;\n  return that._maxListeners;\n}\nEventEmitter.prototype.getMaxListeners = function getMaxListeners() {\n  return _getMaxListeners(this);\n};\nEventEmitter.prototype.emit = function emit(type) {\n  var args = [];\n  for (var i = 1; i < arguments.length; i++) args.push(arguments[i]);\n  var doError = type === \"error\";\n  var events = this._events;\n  if (events !== undefined) doError = doError && events.error === undefined;else if (!doError) return false;\n\n  // If there is no 'error' event listener then throw.\n  if (doError) {\n    var er;\n    if (args.length > 0) er = args[0];\n    if (er instanceof Error) {\n      // Note: The comments on the `throw` lines are intentional, they show\n      // up in Node's output if this results in an unhandled exception.\n      throw er; // Unhandled 'error' event\n    }\n    // At least give some kind of context to the user\n    var err = new Error(\"Unhandled error.\" + (er ? \" (\" + er.message + \")\" : \"\"));\n    err.context = er;\n    throw err; // Unhandled 'error' event\n  }\n\n  var handler = events[type];\n  if (handler === undefined) return false;\n  if (typeof handler === \"function\") {\n    ReflectApply(handler, this, args);\n  } else {\n    var len = handler.length;\n    var listeners = arrayClone(handler, len);\n    for (var i = 0; i < len; ++i) ReflectApply(listeners[i], this, args);\n  }\n  return true;\n};\nfunction _addListener(target, type, listener, prepend) {\n  var m;\n  var events;\n  var existing;\n  checkListener(listener);\n  events = target._events;\n  if (events === undefined) {\n    events = target._events = Object.create(null);\n    target._eventsCount = 0;\n  } else {\n    // To avoid recursion in the case that type === \"newListener\"! Before\n    // adding it to the listeners, first emit \"newListener\".\n    if (events.newListener !== undefined) {\n      target.emit(\"newListener\", type, listener.listener ? listener.listener : listener);\n\n      // Re-assign `events` because a newListener handler could have caused the\n      // this._events to be assigned to a new object\n      events = target._events;\n    }\n    existing = events[type];\n  }\n  if (existing === undefined) {\n    // Optimize the case of one listener. Don't need the extra array object.\n    existing = events[type] = listener;\n    ++target._eventsCount;\n  } else {\n    if (typeof existing === \"function\") {\n      // Adding the second element, need to change to array.\n      existing = events[type] = prepend ? [listener, existing] : [existing, listener];\n      // If we've already got an array, just append.\n    } else if (prepend) {\n      existing.unshift(listener);\n    } else {\n      existing.push(listener);\n    }\n\n    // Check for listener leak\n    m = _getMaxListeners(target);\n    if (m > 0 && existing.length > m && !existing.warned) {\n      existing.warned = true;\n      // No error code for this since it is a Warning\n      // eslint-disable-next-line no-restricted-syntax\n      var w = new Error(\"Possible EventEmitter memory leak detected. \" + existing.length + \" \" + String(type) + \" listeners \" + \"added. Use emitter.setMaxListeners() to \" + \"increase limit\");\n      w.name = \"MaxListenersExceededWarning\";\n      w.emitter = target;\n      w.type = type;\n      w.count = existing.length;\n      ProcessEmitWarning(w);\n    }\n  }\n  return target;\n}\nEventEmitter.prototype.addListener = function addListener(type, listener) {\n  return _addListener(this, type, listener, false);\n};\nEventEmitter.prototype.on = EventEmitter.prototype.addListener;\nEventEmitter.prototype.prependListener = function prependListener(type, listener) {\n  return _addListener(this, type, listener, true);\n};\nfunction onceWrapper() {\n  if (!this.fired) {\n    this.target.removeListener(this.type, this.wrapFn);\n    this.fired = true;\n    if (arguments.length === 0) return this.listener.call(this.target);\n    return this.listener.apply(this.target, arguments);\n  }\n}\nfunction _onceWrap(target, type, listener) {\n  var state = {\n    fired: false,\n    wrapFn: undefined,\n    target: target,\n    type: type,\n    listener: listener\n  };\n  var wrapped = onceWrapper.bind(state);\n  wrapped.listener = listener;\n  state.wrapFn = wrapped;\n  return wrapped;\n}\nEventEmitter.prototype.once = function once(type, listener) {\n  checkListener(listener);\n  this.on(type, _onceWrap(this, type, listener));\n  return this;\n};\nEventEmitter.prototype.prependOnceListener = function prependOnceListener(type, listener) {\n  checkListener(listener);\n  this.prependListener(type, _onceWrap(this, type, listener));\n  return this;\n};\n\n// Emits a 'removeListener' event if and only if the listener was removed.\nEventEmitter.prototype.removeListener = function removeListener(type, listener) {\n  var list, events, position, i, originalListener;\n  checkListener(listener);\n  events = this._events;\n  if (events === undefined) return this;\n  list = events[type];\n  if (list === undefined) return this;\n  if (list === listener || list.listener === listener) {\n    if (--this._eventsCount === 0) this._events = Object.create(null);else {\n      delete events[type];\n      if (events.removeListener) this.emit(\"removeListener\", type, list.listener || listener);\n    }\n  } else if (typeof list !== \"function\") {\n    position = -1;\n    for (i = list.length - 1; i >= 0; i--) {\n      if (list[i] === listener || list[i].listener === listener) {\n        originalListener = list[i].listener;\n        position = i;\n        break;\n      }\n    }\n    if (position < 0) return this;\n    if (position === 0) list.shift();else {\n      spliceOne(list, position);\n    }\n    if (list.length === 1) events[type] = list[0];\n    if (events.removeListener !== undefined) this.emit(\"removeListener\", type, originalListener || listener);\n  }\n  return this;\n};\nEventEmitter.prototype.off = EventEmitter.prototype.removeListener;\nEventEmitter.prototype.removeAllListeners = function removeAllListeners(type) {\n  var listeners, events, i;\n  events = this._events;\n  if (events === undefined) return this;\n\n  // not listening for removeListener, no need to emit\n  if (events.removeListener === undefined) {\n    if (arguments.length === 0) {\n      this._events = Object.create(null);\n      this._eventsCount = 0;\n    } else if (events[type] !== undefined) {\n      if (--this._eventsCount === 0) this._events = Object.create(null);else delete events[type];\n    }\n    return this;\n  }\n\n  // emit removeListener for all listeners on all events\n  if (arguments.length === 0) {\n    var keys = Object.keys(events);\n    var key;\n    for (i = 0; i < keys.length; ++i) {\n      key = keys[i];\n      if (key === \"removeListener\") continue;\n      this.removeAllListeners(key);\n    }\n    this.removeAllListeners(\"removeListener\");\n    this._events = Object.create(null);\n    this._eventsCount = 0;\n    return this;\n  }\n  listeners = events[type];\n  if (typeof listeners === \"function\") {\n    this.removeListener(type, listeners);\n  } else if (listeners !== undefined) {\n    // LIFO order\n    for (i = listeners.length - 1; i >= 0; i--) {\n      this.removeListener(type, listeners[i]);\n    }\n  }\n  return this;\n};\nfunction _listeners(target, type, unwrap) {\n  var events = target._events;\n  if (events === undefined) return [];\n  var evlistener = events[type];\n  if (evlistener === undefined) return [];\n  if (typeof evlistener === \"function\") return unwrap ? [evlistener.listener || evlistener] : [evlistener];\n  return unwrap ? unwrapListeners(evlistener) : arrayClone(evlistener, evlistener.length);\n}\nEventEmitter.prototype.listeners = function listeners(type) {\n  return _listeners(this, type, true);\n};\nEventEmitter.prototype.rawListeners = function rawListeners(type) {\n  return _listeners(this, type, false);\n};\nEventEmitter.listenerCount = function (emitter, type) {\n  if (typeof emitter.listenerCount === \"function\") {\n    return emitter.listenerCount(type);\n  } else {\n    return listenerCount.call(emitter, type);\n  }\n};\nEventEmitter.prototype.listenerCount = listenerCount;\nfunction listenerCount(type) {\n  var events = this._events;\n  if (events !== undefined) {\n    var evlistener = events[type];\n    if (typeof evlistener === \"function\") {\n      return 1;\n    } else if (evlistener !== undefined) {\n      return evlistener.length;\n    }\n  }\n  return 0;\n}\nEventEmitter.prototype.eventNames = function eventNames() {\n  return this._eventsCount > 0 ? ReflectOwnKeys(this._events) : [];\n};\nfunction arrayClone(arr, n) {\n  var copy = new Array(n);\n  for (var i = 0; i < n; ++i) copy[i] = arr[i];\n  return copy;\n}\nfunction spliceOne(list, index) {\n  for (; index + 1 < list.length; index++) list[index] = list[index + 1];\n  list.pop();\n}\nfunction unwrapListeners(arr) {\n  var ret = new Array(arr.length);\n  for (var i = 0; i < ret.length; ++i) {\n    ret[i] = arr[i].listener || arr[i];\n  }\n  return ret;\n}\nfunction once(emitter, name) {\n  return new Promise(function (resolve, reject) {\n    function errorListener(err) {\n      emitter.removeListener(name, resolver);\n      reject(err);\n    }\n    function resolver() {\n      if (typeof emitter.removeListener === \"function\") {\n        emitter.removeListener(\"error\", errorListener);\n      }\n      resolve([].slice.call(arguments));\n    }\n    eventTargetAgnosticAddListener(emitter, name, resolver, {\n      once: true\n    });\n    if (name !== \"error\") {\n      addErrorHandlerIfEventEmitter(emitter, errorListener, {\n        once: true\n      });\n    }\n  });\n}\nfunction addErrorHandlerIfEventEmitter(emitter, handler, flags) {\n  if (typeof emitter.on === \"function\") {\n    eventTargetAgnosticAddListener(emitter, \"error\", handler, flags);\n  }\n}\nfunction eventTargetAgnosticAddListener(emitter, name, listener, flags) {\n  if (typeof emitter.on === \"function\") {\n    if (flags.once) {\n      emitter.once(name, listener);\n    } else {\n      emitter.on(name, listener);\n    }\n  } else if (typeof emitter.addEventListener === \"function\") {\n    // EventTarget does not have `error` event semantics like Node\n    // EventEmitters, we do not listen for `error` events here.\n    emitter.addEventListener(name, function wrapListener(arg) {\n      // IE does not have builtin `{ once: true }` support so we\n      // have to do it manually.\n      if (flags.once) {\n        emitter.removeEventListener(name, wrapListener);\n      }\n      listener(arg);\n    });\n  } else {\n    throw new TypeError('The \"emitter\" argument must be of type EventEmitter. Received type ' + _typeof(emitter));\n  }\n}\nvar eventsExports = events.exports;\nvar index = /*@__PURE__*/getDefaultExportFromCjs(eventsExports);\n\nexport { EventEmitter_1 as EventEmitter, index as default, once_1 as once };\n","buffer.js.LICENSE.txt":"/*!\n * The buffer module from node.js, for the browser.\n *\n * @author   Feross Aboukhadijeh <https://feross.org>\n * @license  MIT\n */\n\n/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */\n","buffer.js":"/*! For license information please see buffer.js.LICENSE.txt */\nvar t={483:(t,e,r)=>{const n=r(525),o=r(921),i=\"function\"==typeof Symbol&&\"function\"==typeof Symbol.for?Symbol.for(\"nodejs.util.inspect.custom\"):null;e.lW=u,e.bY=g,e.h2=50,e.ZP={Buffer:u,SlowBuffer:g,INSPECT_MAX_BYTES:50};const f=2147483647;function s(t){if(t>f)throw new RangeError('The value \"'+t+'\" is invalid for option \"size\"');const e=new Uint8Array(t);return Object.setPrototypeOf(e,u.prototype),e}function u(t,e,r){if(\"number\"==typeof t){if(\"string\"==typeof e)throw new TypeError('The \"string\" argument must be of type string. Received type number');return c(t)}return h(t,e,r)}function h(t,e,r){if(\"string\"==typeof t)return function(t,e){if(\"string\"==typeof e&&\"\"!==e||(e=\"utf8\"),!u.isEncoding(e))throw new TypeError(\"Unknown encoding: \"+e);const r=0|w(t,e);let n=s(r);const o=n.write(t,e);return o!==r&&(n=n.slice(0,o)),n}(t,e);if(ArrayBuffer.isView(t))return function(t){if(X(t,Uint8Array)){const e=new Uint8Array(t);return l(e.buffer,e.byteOffset,e.byteLength)}return p(t)}(t);if(null==t)throw new TypeError(\"The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type \"+typeof t);if(X(t,ArrayBuffer)||t&&X(t.buffer,ArrayBuffer))return l(t,e,r);if(\"undefined\"!=typeof SharedArrayBuffer&&(X(t,SharedArrayBuffer)||t&&X(t.buffer,SharedArrayBuffer)))return l(t,e,r);if(\"number\"==typeof t)throw new TypeError('The \"value\" argument must not be of type number. Received type number');const n=t.valueOf&&t.valueOf();if(null!=n&&n!==t)return u.from(n,e,r);const o=function(t){if(u.isBuffer(t)){const e=0|y(t.length),r=s(e);return 0===r.length||t.copy(r,0,0,e),r}return void 0!==t.length?\"number\"!=typeof t.length||J(t.length)?s(0):p(t):\"Buffer\"===t.type&&Array.isArray(t.data)?p(t.data):void 0}(t);if(o)return o;if(\"undefined\"!=typeof Symbol&&null!=Symbol.toPrimitive&&\"function\"==typeof t[Symbol.toPrimitive])return u.from(t[Symbol.toPrimitive](\"string\"),e,r);throw new TypeError(\"The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type \"+typeof t)}function a(t){if(\"number\"!=typeof t)throw new TypeError('\"size\" argument must be of type number');if(t<0)throw new RangeError('The value \"'+t+'\" is invalid for option \"size\"')}function c(t){return a(t),s(t<0?0:0|y(t))}function p(t){const e=t.length<0?0:0|y(t.length),r=s(e);for(let n=0;n<e;n+=1)r[n]=255&t[n];return r}function l(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('\"offset\" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('\"length\" is outside of buffer bounds');let n;return n=void 0===e&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,e):new Uint8Array(t,e,r),Object.setPrototypeOf(n,u.prototype),n}function y(t){if(t>=f)throw new RangeError(\"Attempt to allocate Buffer larger than maximum size: 0x\"+f.toString(16)+\" bytes\");return 0|t}function g(t){return+t!=t&&(t=0),u.alloc(+t)}function w(t,e){if(u.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||X(t,ArrayBuffer))return t.byteLength;if(\"string\"!=typeof t)throw new TypeError('The \"string\" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);const r=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;let o=!1;for(;;)switch(e){case\"ascii\":case\"latin1\":case\"binary\":return r;case\"utf8\":case\"utf-8\":return W(t).length;case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return 2*r;case\"hex\":return r>>>1;case\"base64\":return q(t).length;default:if(o)return n?-1:W(t).length;e=(\"\"+e).toLowerCase(),o=!0}}function d(t,e,r){let n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return\"\";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return\"\";if((r>>>=0)<=(e>>>=0))return\"\";for(t||(t=\"utf8\");;)switch(t){case\"hex\":return _(this,e,r);case\"utf8\":case\"utf-8\":return T(this,e,r);case\"ascii\":return L(this,e,r);case\"latin1\":case\"binary\":return S(this,e,r);case\"base64\":return R(this,e,r);case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return x(this,e,r);default:if(n)throw new TypeError(\"Unknown encoding: \"+t);t=(t+\"\").toLowerCase(),n=!0}}function b(t,e,r){const n=t[e];t[e]=t[r],t[r]=n}function B(t,e,r,n,o){if(0===t.length)return-1;if(\"string\"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),J(r=+r)&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return-1;r=t.length-1}else if(r<0){if(!o)return-1;r=0}if(\"string\"==typeof e&&(e=u.from(e,n)),u.isBuffer(e))return 0===e.length?-1:E(t,e,r,n,o);if(\"number\"==typeof e)return e&=255,\"function\"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):E(t,[e],r,n,o);throw new TypeError(\"val must be string, number or Buffer\")}function E(t,e,r,n,o){let i,f=1,s=t.length,u=e.length;if(void 0!==n&&(\"ucs2\"===(n=String(n).toLowerCase())||\"ucs-2\"===n||\"utf16le\"===n||\"utf-16le\"===n)){if(t.length<2||e.length<2)return-1;f=2,s/=2,u/=2,r/=2}function h(t,e){return 1===f?t[e]:t.readUInt16BE(e*f)}if(o){let n=-1;for(i=r;i<s;i++)if(h(t,i)===h(e,-1===n?0:i-n)){if(-1===n&&(n=i),i-n+1===u)return n*f}else-1!==n&&(i-=i-n),n=-1}else for(r+u>s&&(r=s-u),i=r;i>=0;i--){let r=!0;for(let n=0;n<u;n++)if(h(t,i+n)!==h(e,n)){r=!1;break}if(r)return i}return-1}function m(t,e,r,n){r=Number(r)||0;const o=t.length-r;n?(n=Number(n))>o&&(n=o):n=o;const i=e.length;let f;for(n>i/2&&(n=i/2),f=0;f<n;++f){const n=parseInt(e.substr(2*f,2),16);if(J(n))return f;t[r+f]=n}return f}function A(t,e,r,n){return K(W(e,t.length-r),t,r,n)}function I(t,e,r,n){return K(function(t){const e=[];for(let r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function U(t,e,r,n){return K(q(e),t,r,n)}function v(t,e,r,n){return K(function(t,e){let r,n,o;const i=[];for(let f=0;f<t.length&&!((e-=2)<0);++f)r=t.charCodeAt(f),n=r>>8,o=r%256,i.push(o),i.push(n);return i}(e,t.length-r),t,r,n)}function R(t,e,r){return 0===e&&r===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(e,r))}function T(t,e,r){r=Math.min(t.length,r);const n=[];let o=e;for(;o<r;){const e=t[o];let i=null,f=e>239?4:e>223?3:e>191?2:1;if(o+f<=r){let r,n,s,u;switch(f){case 1:e<128&&(i=e);break;case 2:r=t[o+1],128==(192&r)&&(u=(31&e)<<6|63&r,u>127&&(i=u));break;case 3:r=t[o+1],n=t[o+2],128==(192&r)&&128==(192&n)&&(u=(15&e)<<12|(63&r)<<6|63&n,u>2047&&(u<55296||u>57343)&&(i=u));break;case 4:r=t[o+1],n=t[o+2],s=t[o+3],128==(192&r)&&128==(192&n)&&128==(192&s)&&(u=(15&e)<<18|(63&r)<<12|(63&n)<<6|63&s,u>65535&&u<1114112&&(i=u))}}null===i?(i=65533,f=1):i>65535&&(i-=65536,n.push(i>>>10&1023|55296),i=56320|1023&i),n.push(i),o+=f}return function(t){const e=t.length;if(e<=O)return String.fromCharCode.apply(String,t);let r=\"\",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=O));return r}(n)}e.ZK=f,u.TYPED_ARRAY_SUPPORT=function(){try{const t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),u.TYPED_ARRAY_SUPPORT||\"undefined\"==typeof console||\"function\"!=typeof console.error||console.error(\"This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.\"),Object.defineProperty(u.prototype,\"parent\",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,\"offset\",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=function(t,e,r){return h(t,e,r)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function(t,e,r){return function(t,e,r){return a(t),t<=0?s(t):void 0!==e?\"string\"==typeof r?s(t).fill(e,r):s(t).fill(e):s(t)}(t,e,r)},u.allocUnsafe=function(t){return c(t)},u.allocUnsafeSlow=function(t){return c(t)},u.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==u.prototype},u.compare=function(t,e){if(X(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),X(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),!u.isBuffer(t)||!u.isBuffer(e))throw new TypeError('The \"buf1\", \"buf2\" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;let r=t.length,n=e.length;for(let o=0,i=Math.min(r,n);o<i;++o)if(t[o]!==e[o]){r=t[o],n=e[o];break}return r<n?-1:n<r?1:0},u.isEncoding=function(t){switch(String(t).toLowerCase()){case\"hex\":case\"utf8\":case\"utf-8\":case\"ascii\":case\"latin1\":case\"binary\":case\"base64\":case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return!0;default:return!1}},u.concat=function(t,e){if(!Array.isArray(t))throw new TypeError('\"list\" argument must be an Array of Buffers');if(0===t.length)return u.alloc(0);let r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;const n=u.allocUnsafe(e);let o=0;for(r=0;r<t.length;++r){let e=t[r];if(X(e,Uint8Array))o+e.length>n.length?(u.isBuffer(e)||(e=u.from(e.buffer,e.byteOffset,e.byteLength)),e.copy(n,o)):Uint8Array.prototype.set.call(n,e,o);else{if(!u.isBuffer(e))throw new TypeError('\"list\" argument must be an Array of Buffers');e.copy(n,o)}o+=e.length}return n},u.byteLength=w,u.prototype._isBuffer=!0,u.prototype.swap16=function(){const t=this.length;if(t%2!=0)throw new RangeError(\"Buffer size must be a multiple of 16-bits\");for(let e=0;e<t;e+=2)b(this,e,e+1);return this},u.prototype.swap32=function(){const t=this.length;if(t%4!=0)throw new RangeError(\"Buffer size must be a multiple of 32-bits\");for(let e=0;e<t;e+=4)b(this,e,e+3),b(this,e+1,e+2);return this},u.prototype.swap64=function(){const t=this.length;if(t%8!=0)throw new RangeError(\"Buffer size must be a multiple of 64-bits\");for(let e=0;e<t;e+=8)b(this,e,e+7),b(this,e+1,e+6),b(this,e+2,e+5),b(this,e+3,e+4);return this},u.prototype.toString=function(){const t=this.length;return 0===t?\"\":0===arguments.length?T(this,0,t):d.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError(\"Argument must be a Buffer\");return this===t||0===u.compare(this,t)},u.prototype.inspect=function(){let t=\"\";const r=e.h2;return t=this.toString(\"hex\",0,r).replace(/(.{2})/g,\"$1 \").trim(),this.length>r&&(t+=\" ... \"),\"<Buffer \"+t+\">\"},i&&(u.prototype[i]=u.prototype.inspect),u.prototype.compare=function(t,e,r,n,o){if(X(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(t))throw new TypeError('The \"target\" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),e<0||r>t.length||n<0||o>this.length)throw new RangeError(\"out of range index\");if(n>=o&&e>=r)return 0;if(n>=o)return-1;if(e>=r)return 1;if(this===t)return 0;let i=(o>>>=0)-(n>>>=0),f=(r>>>=0)-(e>>>=0);const s=Math.min(i,f),h=this.slice(n,o),a=t.slice(e,r);for(let t=0;t<s;++t)if(h[t]!==a[t]){i=h[t],f=a[t];break}return i<f?-1:f<i?1:0},u.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},u.prototype.indexOf=function(t,e,r){return B(this,t,e,r,!0)},u.prototype.lastIndexOf=function(t,e,r){return B(this,t,e,r,!1)},u.prototype.write=function(t,e,r,n){if(void 0===e)n=\"utf8\",r=this.length,e=0;else if(void 0===r&&\"string\"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error(\"Buffer.write(string, encoding, offset[, length]) is no longer supported\");e>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n=\"utf8\")):(n=r,r=void 0)}const o=this.length-e;if((void 0===r||r>o)&&(r=o),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError(\"Attempt to write outside buffer bounds\");n||(n=\"utf8\");let i=!1;for(;;)switch(n){case\"hex\":return m(this,t,e,r);case\"utf8\":case\"utf-8\":return A(this,t,e,r);case\"ascii\":case\"latin1\":case\"binary\":return I(this,t,e,r);case\"base64\":return U(this,t,e,r);case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return v(this,t,e,r);default:if(i)throw new TypeError(\"Unknown encoding: \"+n);n=(\"\"+n).toLowerCase(),i=!0}},u.prototype.toJSON=function(){return{type:\"Buffer\",data:Array.prototype.slice.call(this._arr||this,0)}};const O=4096;function L(t,e,r){let n=\"\";r=Math.min(t.length,r);for(let o=e;o<r;++o)n+=String.fromCharCode(127&t[o]);return n}function S(t,e,r){let n=\"\";r=Math.min(t.length,r);for(let o=e;o<r;++o)n+=String.fromCharCode(t[o]);return n}function _(t,e,r){const n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);let o=\"\";for(let n=e;n<r;++n)o+=H[t[n]];return o}function x(t,e,r){const n=t.slice(e,r);let o=\"\";for(let t=0;t<n.length-1;t+=2)o+=String.fromCharCode(n[t]+256*n[t+1]);return o}function C(t,e,r){if(t%1!=0||t<0)throw new RangeError(\"offset is not uint\");if(t+e>r)throw new RangeError(\"Trying to access beyond buffer length\")}function $(t,e,r,n,o,i){if(!u.isBuffer(t))throw new TypeError('\"buffer\" argument must be a Buffer instance');if(e>o||e<i)throw new RangeError('\"value\" argument is out of bounds');if(r+n>t.length)throw new RangeError(\"Index out of range\")}function M(t,e,r,n,o){z(e,n,o,t,r,7);let i=Number(e&BigInt(4294967295));t[r++]=i,i>>=8,t[r++]=i,i>>=8,t[r++]=i,i>>=8,t[r++]=i;let f=Number(e>>BigInt(32)&BigInt(4294967295));return t[r++]=f,f>>=8,t[r++]=f,f>>=8,t[r++]=f,f>>=8,t[r++]=f,r}function N(t,e,r,n,o){z(e,n,o,t,r,7);let i=Number(e&BigInt(4294967295));t[r+7]=i,i>>=8,t[r+6]=i,i>>=8,t[r+5]=i,i>>=8,t[r+4]=i;let f=Number(e>>BigInt(32)&BigInt(4294967295));return t[r+3]=f,f>>=8,t[r+2]=f,f>>=8,t[r+1]=f,f>>=8,t[r]=f,r+8}function P(t,e,r,n,o,i){if(r+n>t.length)throw new RangeError(\"Index out of range\");if(r<0)throw new RangeError(\"Index out of range\")}function k(t,e,r,n,i){return e=+e,r>>>=0,i||P(t,0,r,4),o.write(t,e,r,n,23,4),r+4}function j(t,e,r,n,i){return e=+e,r>>>=0,i||P(t,0,r,8),o.write(t,e,r,n,52,8),r+8}u.prototype.slice=function(t,e){const r=this.length;(t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t);const n=this.subarray(t,e);return Object.setPrototypeOf(n,u.prototype),n},u.prototype.readUintLE=u.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||C(t,e,this.length);let n=this[t],o=1,i=0;for(;++i<e&&(o*=256);)n+=this[t+i]*o;return n},u.prototype.readUintBE=u.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||C(t,e,this.length);let n=this[t+--e],o=1;for(;e>0&&(o*=256);)n+=this[t+--e]*o;return n},u.prototype.readUint8=u.prototype.readUInt8=function(t,e){return t>>>=0,e||C(t,1,this.length),this[t]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,e){return t>>>=0,e||C(t,2,this.length),this[t]|this[t+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,e){return t>>>=0,e||C(t,2,this.length),this[t]<<8|this[t+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,e){return t>>>=0,e||C(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(t,e){return t>>>=0,e||C(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},u.prototype.readBigUInt64LE=Q((function(t){G(t>>>=0,\"offset\");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||Z(t,this.length-8);const n=e+256*this[++t]+65536*this[++t]+this[++t]*2**24,o=this[++t]+256*this[++t]+65536*this[++t]+r*2**24;return BigInt(n)+(BigInt(o)<<BigInt(32))})),u.prototype.readBigUInt64BE=Q((function(t){G(t>>>=0,\"offset\");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||Z(t,this.length-8);const n=e*2**24+65536*this[++t]+256*this[++t]+this[++t],o=this[++t]*2**24+65536*this[++t]+256*this[++t]+r;return(BigInt(n)<<BigInt(32))+BigInt(o)})),u.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||C(t,e,this.length);let n=this[t],o=1,i=0;for(;++i<e&&(o*=256);)n+=this[t+i]*o;return o*=128,n>=o&&(n-=Math.pow(2,8*e)),n},u.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||C(t,e,this.length);let n=e,o=1,i=this[t+--n];for(;n>0&&(o*=256);)i+=this[t+--n]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*e)),i},u.prototype.readInt8=function(t,e){return t>>>=0,e||C(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},u.prototype.readInt16LE=function(t,e){t>>>=0,e||C(t,2,this.length);const r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(t,e){t>>>=0,e||C(t,2,this.length);const r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(t,e){return t>>>=0,e||C(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},u.prototype.readInt32BE=function(t,e){return t>>>=0,e||C(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},u.prototype.readBigInt64LE=Q((function(t){G(t>>>=0,\"offset\");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||Z(t,this.length-8);const n=this[t+4]+256*this[t+5]+65536*this[t+6]+(r<<24);return(BigInt(n)<<BigInt(32))+BigInt(e+256*this[++t]+65536*this[++t]+this[++t]*2**24)})),u.prototype.readBigInt64BE=Q((function(t){G(t>>>=0,\"offset\");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||Z(t,this.length-8);const n=(e<<24)+65536*this[++t]+256*this[++t]+this[++t];return(BigInt(n)<<BigInt(32))+BigInt(this[++t]*2**24+65536*this[++t]+256*this[++t]+r)})),u.prototype.readFloatLE=function(t,e){return t>>>=0,e||C(t,4,this.length),o.read(this,t,!0,23,4)},u.prototype.readFloatBE=function(t,e){return t>>>=0,e||C(t,4,this.length),o.read(this,t,!1,23,4)},u.prototype.readDoubleLE=function(t,e){return t>>>=0,e||C(t,8,this.length),o.read(this,t,!0,52,8)},u.prototype.readDoubleBE=function(t,e){return t>>>=0,e||C(t,8,this.length),o.read(this,t,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(t,e,r,n){t=+t,e>>>=0,r>>>=0,n||$(this,t,e,r,Math.pow(2,8*r)-1,0);let o=1,i=0;for(this[e]=255&t;++i<r&&(o*=256);)this[e+i]=t/o&255;return e+r},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(t,e,r,n){t=+t,e>>>=0,r>>>=0,n||$(this,t,e,r,Math.pow(2,8*r)-1,0);let o=r-1,i=1;for(this[e+o]=255&t;--o>=0&&(i*=256);)this[e+o]=t/i&255;return e+r},u.prototype.writeUint8=u.prototype.writeUInt8=function(t,e,r){return t=+t,e>>>=0,r||$(this,t,e,1,255,0),this[e]=255&t,e+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(t,e,r){return t=+t,e>>>=0,r||$(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(t,e,r){return t=+t,e>>>=0,r||$(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(t,e,r){return t=+t,e>>>=0,r||$(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(t,e,r){return t=+t,e>>>=0,r||$(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},u.prototype.writeBigUInt64LE=Q((function(t,e=0){return M(this,t,e,BigInt(0),BigInt(\"0xffffffffffffffff\"))})),u.prototype.writeBigUInt64BE=Q((function(t,e=0){return N(this,t,e,BigInt(0),BigInt(\"0xffffffffffffffff\"))})),u.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e>>>=0,!n){const n=Math.pow(2,8*r-1);$(this,t,e,r,n-1,-n)}let o=0,i=1,f=0;for(this[e]=255&t;++o<r&&(i*=256);)t<0&&0===f&&0!==this[e+o-1]&&(f=1),this[e+o]=(t/i>>0)-f&255;return e+r},u.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e>>>=0,!n){const n=Math.pow(2,8*r-1);$(this,t,e,r,n-1,-n)}let o=r-1,i=1,f=0;for(this[e+o]=255&t;--o>=0&&(i*=256);)t<0&&0===f&&0!==this[e+o+1]&&(f=1),this[e+o]=(t/i>>0)-f&255;return e+r},u.prototype.writeInt8=function(t,e,r){return t=+t,e>>>=0,r||$(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},u.prototype.writeInt16LE=function(t,e,r){return t=+t,e>>>=0,r||$(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},u.prototype.writeInt16BE=function(t,e,r){return t=+t,e>>>=0,r||$(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},u.prototype.writeInt32LE=function(t,e,r){return t=+t,e>>>=0,r||$(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},u.prototype.writeInt32BE=function(t,e,r){return t=+t,e>>>=0,r||$(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},u.prototype.writeBigInt64LE=Q((function(t,e=0){return M(this,t,e,-BigInt(\"0x8000000000000000\"),BigInt(\"0x7fffffffffffffff\"))})),u.prototype.writeBigInt64BE=Q((function(t,e=0){return N(this,t,e,-BigInt(\"0x8000000000000000\"),BigInt(\"0x7fffffffffffffff\"))})),u.prototype.writeFloatLE=function(t,e,r){return k(this,t,e,!0,r)},u.prototype.writeFloatBE=function(t,e,r){return k(this,t,e,!1,r)},u.prototype.writeDoubleLE=function(t,e,r){return j(this,t,e,!0,r)},u.prototype.writeDoubleBE=function(t,e,r){return j(this,t,e,!1,r)},u.prototype.copy=function(t,e,r,n){if(!u.isBuffer(t))throw new TypeError(\"argument should be a Buffer\");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError(\"targetStart out of bounds\");if(r<0||r>=this.length)throw new RangeError(\"Index out of range\");if(n<0)throw new RangeError(\"sourceEnd out of bounds\");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);const o=n-r;return this===t&&\"function\"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(e,r,n):Uint8Array.prototype.set.call(t,this.subarray(r,n),e),o},u.prototype.fill=function(t,e,r,n){if(\"string\"==typeof t){if(\"string\"==typeof e?(n=e,e=0,r=this.length):\"string\"==typeof r&&(n=r,r=this.length),void 0!==n&&\"string\"!=typeof n)throw new TypeError(\"encoding must be a string\");if(\"string\"==typeof n&&!u.isEncoding(n))throw new TypeError(\"Unknown encoding: \"+n);if(1===t.length){const e=t.charCodeAt(0);(\"utf8\"===n&&e<128||\"latin1\"===n)&&(t=e)}}else\"number\"==typeof t?t&=255:\"boolean\"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<r)throw new RangeError(\"Out of range index\");if(r<=e)return this;let o;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),\"number\"==typeof t)for(o=e;o<r;++o)this[o]=t;else{const i=u.isBuffer(t)?t:u.from(t,n),f=i.length;if(0===f)throw new TypeError('The value \"'+t+'\" is invalid for argument \"value\"');for(o=0;o<r-e;++o)this[o+e]=i[o%f]}return this};const F={};function D(t,e,r){F[t]=class extends r{constructor(){super(),Object.defineProperty(this,\"message\",{value:e.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${t}]`,this.stack,delete this.name}get code(){return t}set code(t){Object.defineProperty(this,\"code\",{configurable:!0,enumerable:!0,value:t,writable:!0})}toString(){return`${this.name} [${t}]: ${this.message}`}}}function Y(t){let e=\"\",r=t.length;const n=\"-\"===t[0]?1:0;for(;r>=n+4;r-=3)e=`_${t.slice(r-3,r)}${e}`;return`${t.slice(0,r)}${e}`}function z(t,e,r,n,o,i){if(t>r||t<e){const n=\"bigint\"==typeof e?\"n\":\"\";let o;throw o=i>3?0===e||e===BigInt(0)?`>= 0${n} and < 2${n} ** ${8*(i+1)}${n}`:`>= -(2${n} ** ${8*(i+1)-1}${n}) and < 2 ** ${8*(i+1)-1}${n}`:`>= ${e}${n} and <= ${r}${n}`,new F.ERR_OUT_OF_RANGE(\"value\",o,t)}!function(t,e,r){G(e,\"offset\"),void 0!==t[e]&&void 0!==t[e+r]||Z(e,t.length-(r+1))}(n,o,i)}function G(t,e){if(\"number\"!=typeof t)throw new F.ERR_INVALID_ARG_TYPE(e,\"number\",t)}function Z(t,e,r){if(Math.floor(t)!==t)throw G(t,r),new F.ERR_OUT_OF_RANGE(r||\"offset\",\"an integer\",t);if(e<0)throw new F.ERR_BUFFER_OUT_OF_BOUNDS;throw new F.ERR_OUT_OF_RANGE(r||\"offset\",`>= ${r?1:0} and <= ${e}`,t)}D(\"ERR_BUFFER_OUT_OF_BOUNDS\",(function(t){return t?`${t} is outside of buffer bounds`:\"Attempt to access memory outside buffer bounds\"}),RangeError),D(\"ERR_INVALID_ARG_TYPE\",(function(t,e){return`The \"${t}\" argument must be of type number. Received type ${typeof e}`}),TypeError),D(\"ERR_OUT_OF_RANGE\",(function(t,e,r){let n=`The value of \"${t}\" is out of range.`,o=r;return Number.isInteger(r)&&Math.abs(r)>2**32?o=Y(String(r)):\"bigint\"==typeof r&&(o=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(o=Y(o)),o+=\"n\"),n+=` It must be ${e}. Received ${o}`,n}),RangeError);const V=/[^+/0-9A-Za-z-_]/g;function W(t,e){let r;e=e||1/0;const n=t.length;let o=null;const i=[];for(let f=0;f<n;++f){if(r=t.charCodeAt(f),r>55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(f+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error(\"Invalid code point\");if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function q(t){return n.toByteArray(function(t){if((t=(t=t.split(\"=\")[0]).trim().replace(V,\"\")).length<2)return\"\";for(;t.length%4!=0;)t+=\"=\";return t}(t))}function K(t,e,r,n){let o;for(o=0;o<n&&!(o+r>=e.length||o>=t.length);++o)e[o+r]=t[o];return o}function X(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function J(t){return t!=t}const H=function(){const t=\"0123456789abcdef\",e=new Array(256);for(let r=0;r<16;++r){const n=16*r;for(let o=0;o<16;++o)e[n+o]=t[r]+t[o]}return e}();function Q(t){return\"undefined\"==typeof BigInt?tt:t}function tt(){throw new Error(\"BigInt not supported\")}},525:(t,e)=>{e.byteLength=function(t){var e=s(t),r=e[0],n=e[1];return 3*(r+n)/4-n},e.toByteArray=function(t){var e,r,i=s(t),f=i[0],u=i[1],h=new o(function(t,e,r){return 3*(e+r)/4-r}(0,f,u)),a=0,c=u>0?f-4:f;for(r=0;r<c;r+=4)e=n[t.charCodeAt(r)]<<18|n[t.charCodeAt(r+1)]<<12|n[t.charCodeAt(r+2)]<<6|n[t.charCodeAt(r+3)],h[a++]=e>>16&255,h[a++]=e>>8&255,h[a++]=255&e;return 2===u&&(e=n[t.charCodeAt(r)]<<2|n[t.charCodeAt(r+1)]>>4,h[a++]=255&e),1===u&&(e=n[t.charCodeAt(r)]<<10|n[t.charCodeAt(r+1)]<<4|n[t.charCodeAt(r+2)]>>2,h[a++]=e>>8&255,h[a++]=255&e),h},e.fromByteArray=function(t){for(var e,n=t.length,o=n%3,i=[],f=16383,s=0,h=n-o;s<h;s+=f)i.push(u(t,s,s+f>h?h:s+f));return 1===o?(e=t[n-1],i.push(r[e>>2]+r[e<<4&63]+\"==\")):2===o&&(e=(t[n-2]<<8)+t[n-1],i.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+\"=\")),i.join(\"\")};for(var r=[],n=[],o=\"undefined\"!=typeof Uint8Array?Uint8Array:Array,i=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\",f=0;f<64;++f)r[f]=i[f],n[i.charCodeAt(f)]=f;function s(t){var e=t.length;if(e%4>0)throw new Error(\"Invalid string. Length must be a multiple of 4\");var r=t.indexOf(\"=\");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function u(t,e,n){for(var o,i,f=[],s=e;s<n;s+=3)o=(t[s]<<16&16711680)+(t[s+1]<<8&65280)+(255&t[s+2]),f.push(r[(i=o)>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return f.join(\"\")}n[\"-\".charCodeAt(0)]=62,n[\"_\".charCodeAt(0)]=63},921:(t,e)=>{e.read=function(t,e,r,n,o){let i,f;const s=8*o-n-1,u=(1<<s)-1,h=u>>1;let a=-7,c=r?o-1:0;const p=r?-1:1;let l=t[e+c];for(c+=p,i=l&(1<<-a)-1,l>>=-a,a+=s;a>0;)i=256*i+t[e+c],c+=p,a-=8;for(f=i&(1<<-a)-1,i>>=-a,a+=n;a>0;)f=256*f+t[e+c],c+=p,a-=8;if(0===i)i=1-h;else{if(i===u)return f?NaN:1/0*(l?-1:1);f+=Math.pow(2,n),i-=h}return(l?-1:1)*f*Math.pow(2,i-n)},e.write=function(t,e,r,n,o,i){let f,s,u,h=8*i-o-1;const a=(1<<h)-1,c=a>>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0;let l=n?0:i-1;const y=n?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,f=a):(f=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-f))<1&&(f--,u*=2),(e+=f+c>=1?p/u:p*Math.pow(2,1-c))*u>=2&&(f++,u/=2),f+c>=a?(s=0,f=a):f+c>=1?(s=(e*u-1)*Math.pow(2,o),f+=c):(s=e*Math.pow(2,c-1)*Math.pow(2,o),f=0));o>=8;)t[r+l]=255&s,l+=y,s/=256,o-=8;for(f=f<<o|s,h+=o;h>0;)t[r+l]=255&f,l+=y,f/=256,h-=8;t[r+l-y]|=128*g}}},e={},r=function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n](i,i.exports,r),i.exports}(483),n=r.lW,o=r.h2,i=r.bY,f=r.ZP,s=r.ZK;export{n as Buffer,o as INSPECT_MAX_BYTES,i as SlowBuffer,f as default,s as kMaxLength};"}